podman commands
16 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 16 shown
-
podman run -d --name web -p 8080:80 nginx:alpineStart a detached nginx container without root privileges
-
podman build -t myapp:latest -f Containerfile .Build from a Containerfile (Dockerfile-compatible)
-
podman generate systemd --new --name web > ~/.config/systemd/user/web.serviceCreate a systemd unit to manage the container lifecycle
-
podman play kube deployment.yamlRun a pod from a Kubernetes manifest (local testing)
-
podman generate kube mypod > pod.yamlGenerate a Kubernetes-compatible manifest from a running pod
-
podman pod create --name mypod -p 8080:80 && podman run -d --pod mypod nginx:alpineGroup containers into a pod sharing network namespace
-
podman image inspect myapp:latest | jq '.[0].RootFS.Layers'List filesystem layers of an image
-
podman ps -a --format '{{.Names}}\t{{.Status}}\t{{.Image}}'Show all containers with name, status and image
-
podman container prune -fNon-interactively delete all exited containers
-
podman login registry.example.com -u myuserAuthenticate with a container registry
-
podman generate systemd --new --files --name <name>Emit a portable .service that recreates the container on start; note: Quadlet is the modern way
-
podman generate kube <pod> > pod.yamlReverse-engineer a running pod into a K8s manifest for migration to a cluster
-
podman play kube pod.yaml --replaceSpin up pods/services from a K8s manifest with no cluster; --replace re-applies cleanly
-
podman unshare cat /proc/self/uid_map; cat /etc/subuidInspect the user-namespace uid range backing rootless containers; fix perms via chown inside unshare
-
podman auto-update --dry-run && systemctl --user start podman-auto-updatePull newer images and restart labeled containers; needs io.containers.autoupdate=registry label
-
podman system migrateRefresh OCI runtime and user-namespace config after a podman/kernel upgrade; fixes stale containers
no commands match — try a different search