Skip to content

Instantly share code, notes, and snippets.

@MaximStone
Created December 13, 2018 09:12
Show Gist options
  • Save MaximStone/95048763592f764cf9a1141191b66c7e to your computer and use it in GitHub Desktop.
Save MaximStone/95048763592f764cf9a1141191b66c7e to your computer and use it in GitHub Desktop.
Docker Cloud Init
#cloud-config
package_upgrade: true
package_reboot_if_required: true
runcmd:
- apt-get update
- curl -fsSL https://get.docker.com/ | sh
- curl -fsSL https://get.docker.com/gpg | sudo apt-key add -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment