Skip to content

Podman

Sources:

Installation

sudo apt update
sudo apt -y install podman-docker podman-compose

Difference between podman and podman-docker

  • podman is the actual container engine. It runs containers daemonless and supports rootless mode by default.

  • podman-docker does NOT install Docker. It installs a /usr/bin/docker wrapper 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 docker command 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