Skip to content

Instantly share code, notes, and snippets.

@larryclaman
Created March 28, 2018 15:42
Show Gist options
  • Save larryclaman/b22a7ea78a6f988090af818e4019b6ac to your computer and use it in GitHub Desktop.
Save larryclaman/b22a7ea78a6f988090af818e4019b6ac to your computer and use it in GitHub Desktop.
#cloud-config
package_upgrade: false
write_files:
- path: /etc/systemd/system/docker.service.d/docker.conf
content: |
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd
- path: /etc/docker/daemon.json
content: |
{
"hosts": ["fd://","tcp://127.0.0.1:2375"]
}
runcmd:
- curl -sSL https://get.docker.com/ | sh
- usermod -aG docker azureuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment