Skip to main content

Simple management tool for pods, containers and images. Podman provides a Docker-CLI comparable command line. Simply put: alias docker=podman.

# To print out information about containers:
podman ps

# To list all containers (both running and stopped):
podman ps --all

# To start one or more containers:
podman start <container_name> <container_id>

# To stop one or more running containers:
podman stop <container_name> <container_id>

# To pull an image from a registry (defaults to the Docker Hub):
podman pull <image_name>:<image_tag>

# To open a shell inside of an already running container:
podman exec --interactive --tty <container_name> <sh>

# To remove one or more stopped containers:
podman rm <container_name> <container_id>

# To display the logs of one or more containers and follow log output:
podman logs --follow <container_name> <container_id>