Skip to content

Instantly share code, notes, and snippets.

@timfallmk
Last active August 29, 2015 14:22
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 timfallmk/4a9bc458e3025b307b49 to your computer and use it in GitHub Desktop.
Save timfallmk/4a9bc458e3025b307b49 to your computer and use it in GitHub Desktop.
Docker Install Everything
#!/bin/bash
echo "Installing Docker"
wget -qO- https://get.docker.com/ | sh
echo "Installing Docker Machine"
wget https://github.com/docker/machine/releases/download/v0.2.0/docker-machine_linux-amd64
install -m 0660 -p docker-machine_linux-amd64/docker-machine /usr/local/bin/docker-machine
echo "Installing Docker Swarm"
docker pull swarm
echo "Installing Docker Compose"
curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
echo "All components installed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment