2.6K
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.