Created
January 9, 2023 21:30
-
-
Save nsouto/21850c70a2a04b1839d61b208b12d996 to your computer and use it in GitHub Desktop.
Cloud Init
This file contains hidden or 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
#cloud-config | |
runcmd: | |
- curl -fsSL https://get.docker.com | sh | |
- docker pull portainer/portainer-ee:latest | |
- docker volume create portainer_data | |
- docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment