Skip to content

Instantly share code, notes, and snippets.

@pellaeon
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pellaeon/2f5e24e0a62b3c5821c7 to your computer and use it in GitHub Desktop.
Save pellaeon/2f5e24e0a62b3c5821c7 to your computer and use it in GitHub Desktop.
Docker cloudconfig
#cloud-config
apt_mirror: http://ubuntu.cs.nctu.edu.tw/ubuntu/
timezone: Asia/Taipei
package_upgrade: true
packages:
- git
- screen
runcmd:
- wget -qO- https://get.docker.com/ | sh
- curl -L https://github.com/docker/compose/releases/download/1.3.3/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- sudo -u ubuntu git clone https://github.com/pellaeon/Dotfiles /home/ubuntu/Dotfiles
- sudo -u ubuntu /home/ubuntu/Dotfiles/install.bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment