What Is Podman? Daemonless, Rootless Containers and Kubernetes YAML
Podman manages containers, images, pods, and volumes. Learn what daemonless and rootless mean, when its optional API service changes the security boundary, and why `podman kube play` is not a Kubernetes cluster.
What Is Podman? Daemonless, Rootless Containers and Kubernetes YAML
Podman is an open-source tool for managing containers, images, networks, volumes, and pods. Its default local CLI does not require a central daemon to stay running, and it supports rootless operation as a regular user. Podman can also start an optional REST API service, while its Kubernetes YAML support is a local conversion/run feature—not a replacement for an entire Kubernetes cluster.
What does daemonless mean?
In a traditional daemon-based design, the CLI asks a long-running central service to manage containers. Podman’s default local CLI can create and manage containers directly without requiring that service for every command. Commands such as podman run, podman ps, and podman stop offer a workflow familiar to Docker users, but the programs do not have identical architecture or operational behavior. “Daemonless” does not mean no background process can exist: podman system service can provide an API for remote clients or compatible tools, and Linux can use systemd socket activation.
What changes in rootless mode?
Rootless Podman runs as a regular user and uses a user namespace. Root inside the container is not host root; UID/GID values can map differently on the host. Images and containers are normally stored per user, so rootless resources are generally separate from those managed by another user or by root. Distributions may require subordinate UID/GID ranges in /etc/subuid and /etc/subgid; networking, ports, file ownership, and available resources can differ. Rootless reduces privilege but is not a guarantee that a workload is harmless: it can still affect files, sockets, and resources available to the invoking account.
Run and inspect a disposable container
This documented example assumes Podman CLI is installed on a Linux development host. If the image is absent locally, Podman retrieves it from a registry. --rm removes the container when it exits.
podman version
podman run --rm docker.io/library/alpine:latest echo "Podman is running"
podman ps -aCheck the version and printed message. Because --rm removes the exited container, its absence from podman ps -a is expected. This is a documentation-based example, not a claim that it was run on the authoring host. Rootless Podman and sudo podman may show separate images and containers; do not mix them while diagnosing state. Use podman ps, podman ps -a, and podman logs <container> to inspect resources and output. Check the deletion scope before using prune commands.
What changes when you enable the API service?
Common Linux sockets are /run/podman/podman.sock for a rootful service and $XDG_RUNTIME_DIR/podman/podman.sock for rootless. The service is optional for the normal local CLI. Unix-socket file permissions restrict access. Podman warns that the API grants powerful access capable of running arbitrary code as the service user, without fine-grained operation limits or auditing. Avoid exposing plain TCP. For remote access, prefer SSH socket forwarding or mutually authenticated TLS. Access to a rootful socket can have host-root impact, so assess the boundary before mounting it into a container or granting socket access.
Does podman kube play replace Kubernetes?
No. podman kube play reads supported Kubernetes YAML and creates corresponding local Podman containers, pods, or volumes. Its supported resource kinds and volume types are limited. The podman kube commands help move workloads between Podman and Kubernetes; they do not reproduce the kubectl CLI. Once a workload is deployed to a Kubernetes cluster, manage it with kubectl. A local podman kube play sample.yaml test is not proof that every Kubernetes API resource is compatible or that a production cluster deployment has been validated. Check the documentation for the installed Podman version.
How does Podman differ from Docker and CRI-O?
Podman and Docker both provide developer workflows for images and containers, but their default service models differ: Docker Engine has a client and daemon, while Podman’s local CLI is designed to work without a central daemon. Podman can still offer an optional API service. CRI-O has a narrower role: it implements Kubernetes CRI for kubelet requests on a node and delegates to OCI runtimes. Podman is a CLI-centered tool for directly managing containers and pods. Installing Podman does not change a node’s CRI-O or make the Podman command the cluster’s kubectl. Compare Docker’s components, CRI-O’s role, and containerd in Kubernetes.
Sources and scope
[Podman CLI and rootless mode](https://docs.podman.io/en/latest/markdown/podman.1.html)
[Podman API service and security](https://docs.podman.io/en/stable/markdown/podman-system-service.1.html)
[Podman kube commands](https://docs.podman.io/en/stable/markdown/podman-kube.1.html)
[Supported resources for podman kube play](https://docs.podman.io/en/stable/markdown/podman-kube-play.1.html)
Based on official Podman documentation checked on 22 November 2026. Details depend on version, operating system, rootless setup, and remote service configuration.