Portainer is a Web GUI to manage Docker Containers [Link].

See also the post about Yacht [Link].

See also the post about CasaOS [Link].

It runs in a container and can be installed as follows:

sudo apt update
sudo apt install docker.io
sudo docker volume create portainer_data
sudo docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

The SSL/TLS enabling is very simplified. Just make sure they are available on the informed directory with the correspondent names:

$ docker run -d -p 443:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v ~/certs:/certs -v portainer_data:/data portainer/portainer-ce --ssl --sslcert /certs/portainer.crt --sslkey /certs/portainer.key

Feels like Portainer is not as easy and friendly to new users.

Portainer comes with templates by default but does not allow adding other sources. Yacht allows adding multiple template sources.

On Yacht one can easily deploy a WordPress with multiple instances plus a SQL database on another instance and makes it very easy to manage, no that simple with Portainer.

Portainer is more sophisticated, stable, and mature. It is a better option for a production environment but I recommend Yacht for most users.

One Reply to “Managing Dockers Containers with Portainer”

Comments are closed.