Last active
March 4, 2022 17:00
-
-
Save mhupfauer/16229f9082af0aba5402e9a18babb9b7 to your computer and use it in GitHub Desktop.
Hetzner Cloud-Init for Docker Hosts
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
#cloud-config | |
package_upgrade: true | |
packages: | |
- git | |
runcmd: | |
- curl -fsSL https://get.docker.com | sh | |
- curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
- chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment