Last active
March 9, 2018 11:43
-
-
Save lomkju/75d8388ea684f737242000c0051f3fff to your computer and use it in GitHub Desktop.
Portainer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a volume for portainer | |
docker volume create portainer | |
#Run portainer forever | |
docker run -d --name portainer -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer:/data portainer/portainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment