Podman¶
Sources:
Installation¶
sudo apt update
sudo apt -y install podman-docker podman-compose
Difference between podman and podman-docker
-
podmanis the actual container engine. It runs containers daemonless and supports rootless mode by default. -
podman-dockerdoes NOT install Docker. It installs a/usr/bin/dockerwrapper that forwards Docker CLI commands to Podman.
This means:
- When you run
docker run ..., you are actually using Podman. - It works system-wide (not just as a shell alias).
- It allows existing scripts and tools that expect the
dockercommand to work without modification.
If you do not need Docker CLI compatibility, you can install only podman.
Setup¶
systemctl --user enable podman.socket
Verify¶
podman --version
podman info
podman run hello-world