Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install portainer docker

#First, create the volume that Portainer Server will use to store its database:
docker volume create portainer_data;
#Then, download and install the Portainer Server container:
# Get The latest version name form here
#htps://github.com/portainer/portainer/releases/
docker run -d -p 8000:8000 -p 9443:9443 --name portainer 
    --restart=always 
    -v /var/run/docker.sock:/var/run/docker.sock 
    -v portainer_data:/data 
    portainer/portainer-ce:2.14.1
Source by docs.portainer.io #
 
PREVIOUS NEXT
Tagged: #install #portainer #docker
ADD COMMENT
Topic
Name
8+5 =