Portainer Docker Guide

Why do you need Portainer

It will make your life easier when managing container through an UI instead of the CLI.

Portainer - Docker container:

Docker - First steps

One recurrent topic that has to be addressed in the first place is to setup docker in our machine.

For that, you can check this guide

Deploy with CLI

Using one single command

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

Now you will be able to access Portainer interface on the port 9000 of your machine and manage containers from the UI. Also you will be able to deloy new ones with Stacks (using docker-compose on the interface).