Deploy Portainer using Podman on a RHEL 9 Server

portainer

Portainer is a lightweight management UI which allows you to easily manage your different Docker environments. How do we deploy portainer using podman on a RHEL 9 server.

Video demonstration on deploying portainer with podman on a RHEL 9 Server.

Installation of Portainer is straightforward using Podman on RHEL 9. There are a few changes you need to make to the standard install as documented. This is because the documentation is based on the docker platform, and we want to have it running using podman.

Login to your server you wish to deploy portainer to, and run the following command.

# podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer -v /run/podman/podman.sock:/var/run/docker.sock:Z -v portainer_data:/data docker.io/portainer/portainer-ce:latest

Give it a few seconds to start up, then access it with the IP / hostname of the server with port 9443 as such.

https://saturn.home.therootuser.com:9443

You will then be asked to create the admin account and password, at which time you’ll then be able to manage your containers on your system.

Portainer Home Screen after deploying using Podman
Portainer Home Screen

And that’s it. Portainer is now up and running on your system and you can begin to manage and monitor your containers.

Share

Ivan Windon

Ivan Windon is a Site Reliability Engineer at IBM. Ivan is actively engaged in Cloud Technologies with AWS, Google, and Azure. Ivan has extensive experience with Linux and Windows administration, DNS, Networking, IDM, and Security. In his free time, he enjoys being with his wife and two children. The family enjoys hiking, and traveling when able. His favorite locations are Yosemite NPS, and San Francisco, California.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.