Podman and Rootless Containers
Cheat sheet · https://pcornel.dk/topic.php?topic=6129
Answer
Podman is a daemonless, Docker-compatible container engine that runs containers as child processes and supports rootless containers with user namespaces; it integrates with systemd (Quadlet).
Remember
Rootless containers cannot bind ports < 1024 by default and use slirp4netns/pasta networking. Run services with Quadlet .container files under systemd. podman generate kube exports Kubernetes YAML.
First checks
podman info— engine and rootless infodocker ps -a— containers and exit codesdocker logs <c>— container outputdocker inspect <c>— config, mounts, network, state
Commands
podmanpodman unshare chownsystemctl --user daemon-reload && systemctl --user start webpodman generate systemd
Verify in this order
podman CLI → conmon → runc/crun → container (user namespace for rootless)
Where it usually breaks
Volumes created by root are not writable by a rootless container.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6129