Skip to content

Instantly share code, notes, and snippets.

@dgmike
Created May 22, 2018 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgmike/e104928cc0c09dd4a07793332dcac81c to your computer and use it in GitHub Desktop.
Save dgmike/e104928cc0c09dd4a07793332dcac81c to your computer and use it in GitHub Desktop.
Running portainer on your machinne
#!/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