Skip to main content

4. Deploying Portainer

Portainer is a tool with a fantastic Web UI for managing your docker containers, deploying new ones and so much more.

To deploy Portainer, run the following command:

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

To view the Web UI, open up a web browser, and enter your server's ip along with the port 9000:

http://192.168.1.231:9000

This should take you to the portainer setup page.

Enter a username and password and login!

portainer_setup.pngportainer_setup.png