Last active
March 11, 2021 23:14
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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