Install podman in ubuntu 20.04

Ramesh Ponnusamy
2 min readMar 31, 2023

Podman is a container engine for Linux-based operating systems that provides a way to manage containers without the need for a separate daemon process. It is an open-source tool that is designed to be a drop-in replacement for the Docker daemon, but without requiring root privileges to run.

Podman uses the same container format and image registries as Docker, which means that you can use it to run Docker images and containers as well. Podman supports multiple container runtimes, including the default runc runtime, which is also used by Docker.

Let's take a look at How to install podman on Ubuntu20.04:

1. Update the package index on your system:

sudo apt update

2. Install the Podman dependencies:

sudo apt install software-properties-common uidmap

3. Add the libcontainers repository:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"

5. And Run the sudo apt-get update

5.1. If you get an error like the following one

W: GPG error…

--

--

No responses yet