Install Podman on Debian: APT, Versions & Rootless Setup

Tested on Package metadata verified from Debian archive indexes (August 2026)
Package podman 4.3.1+ds1-8+deb12u1+b3 (Bookworm); 5.4.2+ds1-2+b2 (Trixie)
Applies to Debian 12 (bookworm) and Debian 13 (trixie)
Privilege sudo for package install; normal user for rootless verification
Scope Install Podman with apt on Debian, compare Bookworm and Trixie package branches, verify CLI and runtime stack, smoke-test rootless mode, run a hello container, update and uninstall. Does not cover Ubuntu, RHEL, source builds, Podman Desktop, or full rootless remediation.
Related guides Install Podman on Ubuntu
Install Podman on RHEL
What is Podman?

On Debian, Podman installs from the main archive with two commands. The catch is which major version your release ships — Debian 12 still carries Podman 4.3.x while Debian 13 ships 5.4.x. Check that before copying flags from a tutorial written for Fedora or upstream docs.


Quick install Podman on Debian

Refresh package indexes first:

bash
sudo apt update

Install Podman from the main archive:

bash
sudo apt install podman

Confirm the client version immediately:

bash
podman --version

Sample output on Debian 13:

output
podman version 5.4.2

If that version line prints, the package and its runtime dependencies are on the PATH. Continue with podman info and the hello container below.


Podman versions on Debian 12 and 13

Debian pins one Podman branch per stable release. The exact Debian revision changes with security updates, but the major.minor is what matters for feature compatibility.

Debian release Podman branch in default repos Verified (Aug 2026)
Debian 12 (bookworm) 4.3.x 4.3.1+ds1-8+deb12u1+b3
Debian 13 (trixie) 5.4.x 5.4.2+ds1-2+b2

Why this split matters:

  • Debian 12's Podman 4.3 branch predates several newer Quadlet capabilities and 5.x CLI helpers.
  • Debian 13's 5.4 branch supports substantially more current functionality, but still trails the latest upstream 5.8 minor.

Before following newer 5.6 or 5.8 examples, compare your podman --version output to the feature matrix on Install Podman on RHEL.

Ask APT what your host would install:

bash
apt-cache policy podman

Sample output on Debian 12:

output
podman:
  Installed: (none)
  Candidate: 4.3.1+ds1-8+deb12u1+b3
  Version table:
     4.3.1+ds1-8+deb12u1+b3 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages

The Candidate line is the version apt install podman selects from enabled repositories.


Install Podman

Run the install transaction on your Debian host:

bash
sudo apt install podman

APT pulls the runtime stack automatically on a normal install:

  • conmon — per-container supervisor
  • crun or runc — OCI runtime (Debian resolves one of these)
  • netavark — networking on Trixie; Bookworm may differ
  • fuse-overlayfs — rootless-friendly storage
  • uidmap — subordinate ID tools for rootless mode (recommended package; installed by default unless you pass --no-install-recommends)

You do not need to install those packages manually on a normal Debian install.


Verify the Podman installation

Check the client version:

bash
podman --version

Inspect the runtime stack with podman info:

bash
podman info

Read these fields in the output (structure varies by Debian release):

output
cgroupVersion: v2
  networkBackend: netavark
  ociRuntime:
    name: crun
  graphDriverName: overlay
Field What it tells you
version Installed Podman major.minor — compare to tutorials
ociRuntime.name Low-level runtime (crun on current Debian packages)
graphDriverName Storage driver — overlay is expected
networkBackend netavark on Trixie; Bookworm may still differ
cgroupVersion v2 on modern Debian kernels

If podman info fails after installation, read the reported error first. Check runtime/configuration and package state before reinstalling Podman — see Podman troubleshooting for common causes.


Verify rootless Podman on Debian

Rootless Podman runs as your login user without sudo. A normal apt install podman also installs the recommended rootless helper packages such as uidmap on supported Debian releases. You still need subordinate ranges for that user.

Verify uidmap is present if you used --no-install-recommends or rootless setup fails:

bash
dpkg -l uidmap

Check UID delegation:

bash
grep "^$(id -un):" /etc/subuid

Check GID delegation:

bash
grep "^$(id -un):" /etc/subgid

As that user (not root), confirm Podman reports rootless mode:

bash
podman info --format 'rootless={{.Host.Security.Rootless}}'

Sample output:

output
rootless=true

Missing or unsuitable subordinate UID/GID mappings are a common cause of rootless container failures, especially when images require multiple mapped IDs. When ranges are missing or pulls fail with user-namespace errors, follow Rootless Podman — this install guide only confirms the smoke test.


Run a test container

Pull and run the hello image to exercise registry access, storage, the OCI runtime, and conmon:

bash
podman run --rm quay.io/podman/hello

Sample output:

output
!... Hello Podman World ...!

The greeting confirms image pull, overlay storage, the OCI runtime, and cleanup with --rm.

Next lesson: Run containers with podman run for detach mode, ports, and environment variables.


Update Podman on Debian

Use the normal APT upgrade path:

bash
sudo apt update

Upgrade the package when a security or bugfix revision appears:

bash
sudo apt upgrade podman

Re-run podman --version after upgrades. Debian rarely jumps major versions on an existing stable release.


Uninstall Podman from Debian

Remove the package when you no longer need containers on the host:

bash
sudo apt remove podman

Drop configuration files as well when you want a cleaner removal:

bash
sudo apt purge podman

Removing the package does not delete images, containers, or volumes. Rootful storage often remains under /var/lib/containers; rootless users keep ~/.local/share/containers/. Delete those directories only when you intentionally want a full wipe.


Common installation problems on Debian

Symptom Likely cause Fix
Unable to locate package podman Stale indexes or unsupported release Run sudo apt update; confirm you are on Bookworm or newer
podman --version shows 4.3 on Bookworm Expected stable packaging Upgrade to Trixie or adjust tutorial expectations for missing 5.x features
Unknown flag or missing subcommand Tutorial targets a newer major Run podman --version; compare with the feature table on Install Podman on RHEL
Rootless pull fails with subuid errors Missing /etc/subuid range Add subuid ranges per the Rootless Podman guide
Rootless setup fails after minimal install uidmap not installed Reinstall with recommendations enabled or sudo apt install uidmap

References


Summary

Installing Podman on Debian is sudo apt update followed by sudo apt install podman. Debian 12 Bookworm ships Podman 4.3.x; Debian 13 Trixie ships 5.4.x in current archives. Run apt-cache policy podman on your host and compare the candidate to tutorials before copying newer Quadlet or CLI examples.

podman info shows the cgroup version, storage driver, and network backend active on your host. A rootless smoke test and the hello image prove user-namespace mappings and runtime integration. For Ubuntu paths, see Install Podman on Ubuntu; for Quadlet feature gates, see Install Podman on RHEL.


Frequently Asked Questions

1. How do I install Podman on Debian?

Run sudo apt update followed by sudo apt install podman from the main archive on Bookworm or newer. Verify with podman --version and podman info before following tutorials written for newer Podman majors.

2. Which Debian release has the newer Podman package?

Debian 12 Bookworm ships Podman 4.3.x. Debian 13 Trixie ships Podman 5.4.x. Run apt-cache policy podman on your host because security updates change the exact Debian revision suffix.

3. Does apt install podman include rootless support?

A normal apt install podman also installs the recommended rootless helper packages such as uidmap on supported Debian releases. You still need subordinate UID and GID ranges in /etc/subuid and /etc/subgid for your login user. Verify uidmap is installed if you used --no-install-recommends or rootless setup fails.

4. How do I uninstall Podman on Debian?

Run sudo apt remove podman to drop the package, or sudo apt purge podman to remove configuration files too. Neither command deletes images or volumes under /var/lib/containers or in your home directory. Delete storage paths only when you intentionally want a full wipe.
Deepak Prasad

R&D Engineer

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

  • Go (programming language)
  • Python (programming language)
  • DevOps
  • Computer Security
  • Cloud Computing
  • Kubernetes
  • Linux
  • Ansible (software)