Portainer vs Rancher: comparison between the 2 Docker GUI

People approaching for the first time to containers, soon realize that managing Docker from CLI isn’t the most intuitive way. Even if a user can do some tasks only by CLI, a GUI can help in managing a big number of containers and simplify operations. This post will cover a comparison between the 2 most famous Container GUI: Portainer vs Rancher.

Not everyone knows that Portainer and Rancher had a common point in the past. In fact, from version 1.5 Rancher released a default UI to manage Swarm: Portainer. From release 2.x Rancher focused more to Kubernetes (with its clustering tools) and no longer supported Docker Swarm.

Please find below a table with some of main comparing topics.

Official websitehttps://www.portainer.iohttps://rancher.com/
Website slugBuild and manage your Docker environments with ease today.Rancher is open-source software for delivering Kubernetes-as-a-Service.
First website descriptionIt’s a powerful, open-source management toolset that allows you to easily build, manage and maintain Docker environments.Rancher is a complete software stack for teams adopting containers. It addresses the operational and security challenges of managing multiple Kubernetes clusters, while providing DevOps teams with integrated tools for running containerized workloads.
MissionPortainer was developed to help customers adopt Docker container technology and accelerate time-to-value.Rancher was built to manage Kubernetes everywhere it runs. It can easily deploy new clusters from scratch, launch EKS, GKE and AKS clusters, or even import existing Kubernetes clusters.
APIs supportYesYes
Can use templatesYes (json based)Yes (yaml based)
Built-in backupNoYes
Built-in Disaster RecoveryNoYes
Cluster managementDocker Swarm basedKubernetes based
Projects spaces managementNoYes
GUI TypeWeb GUI (default port: 9000)Web GUI (default port: 80/443)
Docker image (dimension) - Raspberry PI compatibleportainer/portainer:arm
(8.9 MB)
(498.1 MB). NOTE: the arm64 version is not yet official supported / experimental
Installation default commanddocker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainersudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancherpi/rancher:v2.0.8-arm64

Considerations on experience of Portainer vs Rancher


Both the products are fantastic answer to the need of simplifying container high level management.

The first part of the table already shows the main difference between the two GUIs. Portainer aims to simplify Docker management, you can see it as a Docker CLI moved to a web page. Rancher focuses on services for enterprises: team working management, backup and Disaster Recovery tools, a more complete cluster management.

I found Rancher namespaces implementation a great feature: this can be very useful to large companies in managing complex context where multiple teams could be involved in many parallel projects. This feature is currently not present in Portainer, but it is going to be released in the very next future.

Be aware, if you select Rancher, that installation uses default web ports (80 and 443). If you need to expose a web application on the same host, you will probably need to edit host ports in installation docker run command. Another Rancher note is that you will probably need to map persistence to save your data once the container stops.

Rancher has also a fantastic and very light OS (called RancherOS), which should be based on BusyBox. If you want to use this OS, you are however free select your GUI. An example of Portainer over RancherOS (installed on Raspberry Pi) is available here.

Finally, my personal consideration is that they are both valid tool to manage your container environment.

Portainer match better the needs of small environments, expecially when it is based on poor hardware. It works perfectly with Raspberry Pi (works also greatly on Pi Zero W). It could be the best choice if you want to manage a home environment / small lab /small company.

Rancher, on the other side, match better the needs of medium to big environments, expecially when it is based on complex architectures. It could be the best choice if you want open the world of containers to your company and use best of class orchestration tool (kubernetes is the engine under rancher).

Please follow and like us: