2 Install Podman and Related Utilities
Install Podman and its related utilities such as Buildah and Skopeo on an Oracle Linux host.
Podman and the related utilities are available for Oracle Linux on the Oracle Linux yum server and the Unbreakable Linux Network (ULN).
The container-tools
module (or metapackage, in the case of Oracle Linux 9 and Oracle Linux 10 hosts) is provided for convenience to install Podman and the utilities using a single command. However, Podman and its related utilities are designed to work independently of each other, so they can also be installed as individual packages. For example, Buildah has no dependency on Podman, so it's possible to separate the container build infrastructure from systems on which the containers are intended to run. You can optionally install Buildah on the same system that you run Podman, or you can install Buildah on another system. Similarly, you can install Skopeo separate from the other utilities according to specific requirements. To install these packages individually, see Installing Podman, Installing Buildah, and Installing Skopeo.
To install Podman and the related utilities on Oracle Linux 8 hosts, run the following command:
sudo dnf module install container-tools:ol8
To install Podman and the related utilities on Oracle Linux 9 and Oracle Linux 10 hosts, run the following command:
sudo dnf install container-tools
Podman, Buildah, Skopeo, and other related utilities are installed.
Tip:
If you're using the Oracle Linux Cockpit Web console, you can install the cockpit-podman
add-on application. This adds a Podman containers page to the Cockpit web console to monitor and manage Podman images, containers and pods. For example, the Podman containers page provides up-to-date container performance details, container CLI interaction ability, and options to create, run, and change container instances. For information on installing and using this add-on, see Oracle Linux: Using the Cockpit Web Console.
Installing Podman
Install standalone Podman without installing the associated utilities (Buildah or Skopeo) on an Oracle Linux host.
You can install either the podman
package, or the podman-docker
package. The podman-docker
package effectively aliases the docker
command to podman
. The podman-docker
package might be helpful if you're more familiar with Docker, or where automation expects the docker
command to be present. If you're installing the podman-docker
package, replace this package name in the first step, and use the docker
command instead of the podman
command in the rest of this book.