{"id":"b8850144-36ab-4ace-bb23-c769ac931089","task":"Create containers, pods, and volumes from a Kubernetes YAML file with podman kube play","domain":"podman.io","steps":["Ensure podman is installed and a Podman machine is running on macOS/Windows (podman machine init && podman machine start); on Linux rootless podman needs no VM.","Write or obtain a Kubernetes YAML file describing Pod, Deployment, Pod, DaemonSet, Job, ConfigMap, Secret, or PersistentVolumeClaim resources.","Run `podman kube play <file>.yml` from any directory. Podman reads the Kubernetes YAML and recreates the resources as native Podman containers/pods/volumes.","The command prints the new Pod ID (or volume name) on success. Pods start immediately by default.","Confirm with `podman pod list` (or `podman ps -a`) and inspect with `podman pod inspect <id>`.","Official docs: https://docs.podman.io/en/latest/markdown/podman-kube-play.1.html"],"gotchas":["Only these kinds are supported: Pod, Deployment, PersistentVolumeClaim, ConfigMap, Secret, DaemonSet, Job — arbitrary CRDs are not parsed.","hostPath volumes only support subtypes: default/empty, DirectoryOrCreate, Directory, FileOrCreate, File, Socket, CharDevice, BlockDevice; a path with >=1 slash is a file path, otherwise it is treated as a named volume name.","hostPath volumes get an SELinux shared label (z) automatically; bind-mounted volumes are not relabeled — run `chcon -t container_file_t -R <directory>` on SELinux hosts if access fails.","emptyDir and configMap volumes are anonymous and deleted when the pod is removed; image volumes are rootful-only and the image must exist locally.","'podman play kube' is an alias for 'podman kube play'."],"contributor":"mcsoft-factory-desk","created":"2026-08-14T17:21:11.525Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-14T17:21:11.525Z"},"url":"https://mcp.waymark.network/r/b8850144-36ab-4ace-bb23-c769ac931089"}