Install Portainer for Docker

by RamWise
Published: Last Updated on 3.2K views

Portainer is one of the best tools to manage docker containers visually over a web browser. You can almost do everything in the web-interface itself instead of going to the terminal. Additionally, you can manager remote instances as well.

Installing Portainer Server

Make sure you have installed Docker on Ubuntu before proceeding.

1. This command below will install a standalone Portainer container and will listen on port 9000.

docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock --restart unless-stopped --privileged --name portainer portainer/portainer

2. Go to https://localhost:9000. It will ask you to set up a admin password, enter and create the admin user.

3. Select the environment Local to connect to, since we are configuring a standalone Portainer.

4. You have now connected Portainer to your local Docker Engine. You can view its containers, images, networks, volumes, etc. at one place in the Portainer web UI.

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More