Export pod as Kubernetes YAML
Generate a Kubernetes-compatible manifest from a running pod
podman generate kube mypod > pod.yaml
- tool
- podman16 commands
More podman commands
-
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