Skip to content

Instantly share code, notes, and snippets.

@andrewssobral
Created October 19, 2017 12:40
Show Gist options
  • Save andrewssobral/c4aaafc4b6ab7833a4aeda06a676d2f1 to your computer and use it in GitHub Desktop.
Save andrewssobral/c4aaafc4b6ab7833a4aeda06a676d2f1 to your computer and use it in GitHub Desktop.

Portainer

Portainer runs as a lightweight Docker container (the Docker image weights less than 4MB) on a Docker engine or Swarm cluster.

$ docker volume create portainer_data
$ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Then, connect to http://localhost:9000/

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