Tool for management of container in Docker.
Get container pull.
docker pull "portainer/portainer"
Create volume for data.
docker volume create "portainer"
ln -s "/var/lib/docker/volumes/portainer" "/data/volume/"
Create and run container.
docker run --name "portainer" \
-p 9000:9000 \
-v "/var/run/docker.sock:/var/run/docker.sock" \
-v "portainer":"/data" \
--restart=always \
-d "portainer/portainer"
Start container.
docker start "portainer"
Insert user and password in first access.
user: portainer
password: ***
Important: if not first access machine in 5 minutes expire
Top comments (0)