Install Podman on Ubuntu: APT, Versions & Rootless Setup

Tested on Ubuntu 24.04 LTS (Noble) — apt install podman inside a privileged Ubuntu 24.04 container
Package podman 4.9.3+ds1-1ubuntu0.2
Applies to Ubuntu 22.04 LTS and newer (Jammy, Noble, Questing, Resolute)
Privilege sudo for package install; normal user for rootless verification
Scope Install Podman with apt on Ubuntu, compare repo versions by release, verify CLI and runtime stack, smoke-test rootless mode, run a hello container, update and uninstall. Does not cover Debian, RHEL, source builds, Podman Desktop, or full rootless remediation.
Related guides Install Podman on Debian
What is Podman?
Podman architecture

On Ubuntu, Podman installs from the default archives with two commands. The catch is which major version your release ships — Ubuntu 22.04 still carries Podman 3.4.x while 26.04 LTS ships 5.7.x. Check that before copying flags from a tutorial written for Fedora or upstream docs.


Quick install Podman on Ubuntu

Refresh package indexes first — the apt command needs current metadata before it can resolve podman:

bash
sudo apt update

Install Podman from the universe repository:

bash
sudo apt install podman

Confirm the client version immediately:

bash
podman --version

Sample output on Ubuntu 24.04 after install:

output
podman version 4.9.3

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 available on Ubuntu

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

Ubuntu release Podman branch in default repos Verified (Aug 2026)
Ubuntu 22.04 LTS (Jammy) 3.4.x 3.4.4+ds1-1ubuntu1.22.04.3
Ubuntu 24.04 LTS (Noble) 4.9.x 4.9.3+ds1-1ubuntu0.2 (lab install)
Ubuntu 25.10 (Questing) 5.4.x 5.4.2+ds1-2 (Ubuntu archive)
Ubuntu 26.04 LTS (Resolute) 5.7.x 5.7.0+ds2-3build1

Why this table matters:

  • Ubuntu 22.04 lacks many Podman 4.x and 5.x defaults you see in current documentation.
  • Ubuntu 24.04 adds netavark and modern rootless tooling, but still trails Fedora and RHEL on the latest 5.8 minor.
  • Ubuntu 26.04 closes much of that gap with a 5.7.x package.

For Quadlet feature gates by Podman version, see Install Podman on RHEL.

Ask APT what your host would install:

bash
apt-cache policy podman

Sample output on Ubuntu 24.04:

output
podman:
  Installed: (none)
  Candidate: 4.9.3+ds1-1ubuntu0.2
  Version table:
     4.9.3+ds1-1ubuntu0.2 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
     4.9.3+ds1-1ubuntu0.1 500
        500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages

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


Check whether Podman is available

If apt install podman reports the package cannot be found, the universe component may be disabled or your indexes are stale.

Inspect what APT knows about the package:

bash
apt-cache policy podman

When the Candidate line is missing or (none), enable universe on desktop and server images (it is on by default on most Ubuntu installs) and refresh:

bash
sudo apt update

Retry the install command from the quick-start section. On the Ubuntu releases covered by this guide, Podman is available from the Universe component.


Install Podman

Run the install transaction on your Ubuntu host:

bash
sudo apt install podman

Sample output (trimmed) from the Ubuntu 24.04 lab install:

output
Setting up conmon (2.1.10+ds1-1build2) ...
Setting up netavark (1.4.0-4) ...
Setting up aardvark-dns (1.4.0-5) ...
Setting up crun (1.14.1-1) ...
Setting up fuse-overlayfs (1.13-1) ...
Setting up uidmap (1:4.13+dfsg1-4ubuntu3.2) ...
Setting up podman (4.9.3+ds1-1ubuntu0.2) ...
Created symlink ... /usr/lib/systemd/system/podman.socket

APT pulls the runtime stack automatically on a normal install:

  • conmon — per-container supervisor
  • crun — OCI runtime
  • netavark and aardvark-dns — networking and embedded DNS
  • 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 Ubuntu 24.04 install.


Verify the Podman installation

Check the client version:

bash
podman --version

Sample output:

output
podman version 4.9.3

Inspect the runtime stack with podman info:

bash
podman info

Read these fields in the output (trimmed from Ubuntu 24.04):

output
version:
    Version: 4.9.3
  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 Ubuntu packages)
graphDriverName Storage driver — overlay is expected
networkBackend netavark on 24.04+; older Ubuntu may differ
cgroupVersion v2 on modern Ubuntu kernels

Verify rootless Podman on Ubuntu

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 Ubuntu 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

Sample output for user poddemo on a fresh Ubuntu 24.04 install:

output
poddemo:165536:65536

Check GID delegation the same way:

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

Sample output:

output
poddemo:165536:65536

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

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

Sample output:

output
rootless=true

If ranges are missing or pulls fail with ID-mapping errors, follow Rootless Podman — this install guide only confirms the smoke test.


Run your first Podman 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 ASCII greeting means the full path worked: image pull, overlay storage, crun, and container teardown with --rm.

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


Optional Podman packages on Ubuntu

Install these only when you need them. Versions below are from Ubuntu 24.04 archive metadata:

Package Purpose Ubuntu 24.04 candidate
podman-docker Adds a docker command that calls Podman 4.9.3 (matches podman)
podman-compose Compose-file helper (podman-compose script) 1.0.6
buildah Standalone image builds (podman build also uses Buildah libraries) 1.33.7
skopeo Copy and inspect images without running containers 1.13.3

Query availability on your release before installing:

bash
apt-cache policy podman-docker buildah skopeo

Why is Ubuntu's Podman older than upstream?

Upstream Podman releases new minors frequently. Ubuntu maintains one package branch per release so LTS systems receive security backports without surprise behavior changes.

An older podman --version is not a failed install — it is the trade-off for stability. Commands such as podman artifact or Quadlet .artifact units require newer majors than Ubuntu 22.04 or 24.04 provide.

When a tutorial assumes Podman 5.8 flags, compare your podman --version output to the feature matrix on Install Podman on RHEL instead of replacing Ubuntu’s package with unofficial binaries.


Update Podman on Ubuntu

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

Inspect candidates before upgrading automation hosts:

bash
apt-cache policy podman

Re-run podman --version after upgrades. Ubuntu rarely jumps major versions on an existing LTS — you get revision bumps such as 4.9.3+ds1-1ubuntu0.1...0.2.


Uninstall Podman from Ubuntu

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.

Do not treat podman system reset --force as a routine uninstall step — it destroys all local Podman data in one command.


Common Podman installation problems on Ubuntu

Symptom Likely cause Fix
Unable to locate package podman Universe disabled or stale indexes Enable universe; run sudo apt update; retry install
podman --version shows 3.4 on 22.04 Expected LTS packaging Upgrade Ubuntu 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
networkBackend: cni on very old package Pre-netavark Ubuntu package Plan upgrade or follow networking docs for your major

References


Summary

Installing Podman on Ubuntu is sudo apt update followed by sudo apt install podman. The lab install on Ubuntu 24.04 placed Podman 4.9.3 on the PATH with crun, conmon, and netavark pulled in automatically — no manual dependency hunting.

Before you follow newer tutorials, compare your release against the version table: 22.04 still ships 3.4.x, 24.04 ships 4.9.x, and 26.04 LTS ships 5.7.x in current archives. apt-cache policy podman shows the candidate on your host; podman info confirms cgroup v2, overlay storage, and the network backend.

Rootless mode worked once subuid ranges existed for the test user (rootless=true). The hello image proved registry and runtime integration. For Rocky Linux and AlmaLinux paths, see Install Podman on Rocky Linux; for Debian, see Install Podman on Debian; for day-to-day container commands, open the podman run lesson next.


Frequently Asked Questions

1. How do I install Podman on Ubuntu?

Run sudo apt update followed by sudo apt install podman. The package lives in the universe repository on supported Ubuntu releases. Verify with podman --version and podman info before following tutorials written for newer Podman majors.

2. Which Ubuntu release has the newest Podman package?

Newer Ubuntu releases ship newer Podman branches. In August 2026 metadata checks, 22.04 offered 3.4.x, 24.04 offered 4.9.x, 25.10 offered 5.4.x, and 26.04 LTS offered 5.7.x. Run apt-cache policy podman on your host because security updates change the exact Debian revision suffix.

3. Why is Ubuntu Podman older than upstream?

Ubuntu maintains a stable package per release rather than tracking every upstream Podman tag. An older version is normal on LTS systems. Check your major version before using flags or Quadlet unit types from current upstream documentation.

4. Does apt install podman include rootless support?

A normal apt install podman also installs the recommended rootless helper packages such as uidmap on supported Ubuntu 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.

5. How do I uninstall Podman on Ubuntu?

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)