Create and use a pod podman
Group containers into a pod sharing network namespace
podman pod create --name mypod -p 8080:80 && podman run -d --pod mypod nginx:alpine
more podman
all 16 commands →
Inspect image layers
podman image inspect myapp:latest | jq '.[0].RootFS.Layers'
List all containers including stopped
podman ps -a --format '{{.Names}}\t{{.Status}}\t{{.Image}}'
Remove all stopped containers
podman container prune -f
Login to registry
podman login registry.example.com -u myuser
Container as systemd unit
podman generate systemd --new --files --name <name>