User Tools

Site Tools


docker:portainer:install_portainer

This is an old revision of the document!


Docker - Install Portainer

Create a volume to host Portainer data

docker volume create portainer_data

returns

portainer_data

Install the Portainer Docker Image

docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --restart always portainer/portainer

NOTE: This will run the container to pull, install and ensure it is always running.


Check that Portainer is running

docker ps

Configure Portainer

Navigate to http://yourdeviceip:9000.

Portainer will prompt you to set up a new password for your admin user.


Connect Portainer to Docker

Click Local and Connect.

NOTE: If using a remote Docker then select the appropriate Remote option.


docker/portainer/install_portainer.1612539894.txt.gz · Last modified: 2021/02/05 15:44 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki