Install Podman in Linux



Podman is in the official repository for almost all distributions, making it easy to install. On Ubuntu / Debian / Mint.

sudo apt install podman

For Red Hat / Fedora

sudo dnf install podman

For Windows, it's recommended to use WSL (Windows Subsystem for Linux) to install and use Podman.

You can install Podman in WSL using the command:

sudo apt install podman -y

If you are a Mac user, the best option is to use Homebrew to install Podman. If you don't have Homebrew installed, first install it with the command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

After you install Homebrew, you can install Podman using the command:

brew install podman"

This will install Podman as a CLI tool, and after the installation is complete, we can view the installed version with the command podman version.

This may differ from your output depending on when you do this, as a new version may have been released. This shows the Podman version, the Go version, and the system architecture.

Just like Docker, there is a Podman Desktop that you can install and use to manage and configure containers. You can find it on the official website. It's available on Linux, Windows, and Mac.

Updated on: 2024-11-21T10:02:35+05:30

57 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements