Created
July 7, 2020 09:47
-
-
Save dduportal/bd88665eeec7d1612d911ec9053c9600 to your computer and use it in GitHub Desktop.
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_update: true | |
manage-resolv-conf: true | |
resolv_conf: | |
nameservers: | |
- '9.9.9.9' | |
packages: | |
- apt-transport-https | |
- ca-certificates | |
- curl | |
- gnupg-agent | |
- software-properties-common | |
runcmd: | |
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
- add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
- apt-get update -y | |
- apt-get install -y docker-ce docker-ce-cli containerd.io | |
- usermod -aG docker ubuntu | |
- systemctl start docker | |
- systemctl enable docker | |
final_message: "Ready to Dock!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment