Play Kubernetes YAML podman
Run a pod from a Kubernetes manifest (local testing)
podman play kube deployment.yaml
more podman
all 16 commands →
Export pod as Kubernetes YAML
podman generate kube mypod > pod.yaml
Create and use a pod
podman pod create --name mypod -p 8080:80 && podman run -d --pod mypod nginx:alpine
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