To install and use Podman on Rocky Linux 9, follow the steps below.
Step 1 : First, ensure that your system is up to date by running the following command:
Step 2 : Now, install Podman using the package manager. Execute the following command:
Step 3 : After the installation is complete, verify that Podman has been installed successfully by checking its version:
Step 4 : Run a simple Ubuntu container using Podman:
This command will download the Ubuntu image and start a container. You will be dropped into a bash shell within the Ubuntu container. You can exit the container by typing exit
.
Congratulations! You have successfully installed Podman on Rocky Linux 9.