Install Portainer on a Debian Based System

Install Portainer on a Debian Based System
Photo by CHUTTERSNAP / Unsplash

This is the easiest way to install Portainer to setup and manage your Docker containers on a Debian based system such as Ubuntu, Linux Mint or Debian itself.

These instructions assume you already have Docker installed and configured. If not, please feel free to follow the instructions linked here.

Getting Portainer installed is just a single command on your Linux terminal...

docker run -d -p 9000:9000 --name Portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

That's pretty much all there is to it, now go to http://localhost:9000 or swap localhost for the IP address of your server and follow the setup instructions.