Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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