Build image podman
Build from a Containerfile (Dockerfile-compatible)
podman build -t myapp:latest -f Containerfile .
more podman
all 16 commands →
Generate systemd unit
podman generate systemd --new --name web > ~/.config/systemd/user/web.service
Play Kubernetes YAML
podman play kube deployment.yaml
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'