Skip to content

Instantly share code, notes, and snippets.

@fjudith
Created November 18, 2017 11:58
Show Gist options
  • Save fjudith/8fea59dd05b2141db93387db4d1e7978 to your computer and use it in GitHub Desktop.
Save fjudith/8fea59dd05b2141db93387db4d1e7978 to your computer and use it in GitHub Desktop.

Open an Putty/SSH session as to the host dedicated to run portainer root user, then execute the following command line.

This required requires access to docker.sock

docker run -d --privileged -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer-data:/data --name 'portainer' --restart on-failure portainer/portainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment