Podman Cheat Sheet
A daemonless, rootless container engine — Docker-compatible commands with pods and tighter security defaults.
Containers4 sections · 23 commands
⌘K
Images & Containers
7podman run -d -p 8080:80 IMAGERun a container detached
podman exec -it CONTAINER /bin/shShell into a container
podman ps -aAll containers (like docker)
podman build -t NAME .Build an image
podman push IMAGEPush to a registry
podman pull IMAGEPull an image
podman rm -aRemove all containers
Pods
6podman pod create --name web --publish 8080:80Create a pod with a port
podman pod create --network host --name NAMEUse host networking
podman run --pod web -d IMAGERun a container inside a pod
podman ps --podShow which pod each container belongs to
podman pod psList pods
podman pod stop/rm NAMEStop or remove a pod
Rootless & Systemd
5podman run --userns=keep-id -v ./data:/app/data IMAGEKeep the host UID inside the container
podman generate systemd --name CONTAINEREmit a systemd unit for a container
podman auto-updatePull and restart containers with new images
podman system migrateSync storage after volume changes
podman info | grep -i rootlessVerify rootless mode
Compose Compatibility
5podman compose up -dRun docker-compose via podman
podman compose psCompose status
podman compose logs -fFollow compose logs
podman-compose up -dAlternative python implementation
alias docker=podmanDrop-in alias for most workloads