Skip to content

Instantly share code, notes, and snippets.

@marcosricardoss
Last active March 11, 2021 23:14
Show Gist options
  • Save marcosricardoss/f973ee230dbbe46d8831614458eb14d9 to your computer and use it in GitHub Desktop.
Save marcosricardoss/f973ee230dbbe46d8831614458eb14d9 to your computer and use it in GitHub Desktop.
Running Portainer - Oopen source container management tool for Kubernetes, Docker, Docker Swarm and Azure ACI.
version: '3.2'
services:
portainer.io:
container_name: portainer.io
restart: always
image: portainer/portainer
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
docker container run --name=portainer --restart=always -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment