Podman (aka, Pod Manager) is an open-source tool designed to make it easy to find, run, build, share and deploy applications using containers and container images. If you already use Docker Container Engine and are familiar with the command line, then Podman should be easy getting used to. It is part of the lib pod library that doesn’t rely on the Docker daemon and is compatible with Docker. If you are completely new to containers, we recommend that you check out the Introduction. For power users or those coming from Docker, check out our Tutorials. Below is how to install Podman on Ubuntu Linux.
How to install Podman on Ubuntu Linux
As described above, Podman makes it easy to find, run, build, share and deploy applications using containers and container images. Below is how to install and configure it in Ubuntu Linux.
Install Podman from Ubuntu’s Repositories
By default, the Podman packages are included in Ubuntu’s default system repositories. One can simply run the commands below to install Podman. Installing packages from Ubuntu’s repositories may not necessarily be the latest version available, since Ubuntu only includes stable which are typically older. Once installed you can run the commands below to view the version installed. The command above should provide the version number for Podman. For more detailed information, run the Podman command.
How to configure Podman in Ubuntu Linux
After Podman is installed, you will want to allow it to download container images from the web. It is disabled by default. This can be done via Podman’s registries.conf file. Run the commands below to open Podman’s registries. conf file. Then add the following lines in the file and save. Once the file is updated, you should now be able to download container images.
How to download and manage container images via Podman
As with most container orchestrators, Podman works the same way. To search for images online, simply run the commands below. That should provide you list of available images you can download. You can then use the pull with the Podman command to download images of the OS you mentioned. You can simply manage your containers via Podman similar to the way one would with Docker and others. Once you have downloaded the image, you can then create and manage your container using the image file downloaded. Create a container for Debian: Connect to your container: Start, Stop and Delete your container and image: Again, Podman can be a great alternative to Docker and other container managers. Visit the help page above for more information. That should do it! Conclusion: This post showed you how to install and manage Podman on Ubuntu Linux. If you find any error above or have something to add, please use the comment form below.