Skip to content

Instantly share code, notes, and snippets.

@ksatirli
Created September 9, 2017 16:05
Show Gist options
  • Save ksatirli/af47ff7661a4709869cb4109ba8eb903 to your computer and use it in GitHub Desktop.
Save ksatirli/af47ff7661a4709869cb4109ba8eb903 to your computer and use it in GitHub Desktop.
Portainer: start
#!/bin/bash
docker \
run \
--name portainer \
--privileged \
--detach \
-p 9000:9000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/Sites/docker-data/portainer/:/data \
portainer/portainer \
--no-auth \
-H unix:///var/run/docker.sock
@ksatirli
Copy link
Author

ksatirli commented Oct 5, 2017

Keep in mind that the /data volume is in a directory that may (= less likely) or may not (= more likely) exist locally.

@ksatirli
Copy link
Author

Portainer is available portainer.io; default installation instructions are available via portainer.io/install.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment