Created
May 22, 2018 00:19
-
-
Save dgmike/e104928cc0c09dd4a07793332dcac81c to your computer and use it in GitHub Desktop.
Running portainer on your machinne
This file contains hidden or 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
#!/bin/bash | |
docker volume create portainer_data | |
docker run -d -p 9100:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment