Installing Portainer

I think we first need to start with, what is Portainer?

Portainer is a Web GUI interface for your docker containers. This can be used to manage your containers, and start new containers; to include Docker Stacks.

Lets get started! This will be installed on Ubuntu 20.04 Headless.

The first step is to install docker. Please see my guide on how to install here.

Now we are going to create a new docker volume for your Portainer data.

sudo docker volume create portainer_data

Next we will actually install Portainer. Its just one simple command.

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 just need to go to http://ipaddress:9000

Need to know about Portainer? Head over to the Portainer GitHub!

Back to Docker Guides

Installing Portainer | Wells Systems