Last active
November 22, 2017 21:23
-
-
Save jacobtomlinson/989c12f9d23c93706525 to your computer and use it in GitHub Desktop.
Docker toolbox for linux
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
#!/bin/bash | |
# A quick script to install Docker Engine and Compose | |
# Run with sudo | |
# Install Docker Engine | |
curl -sSL https://get.docker.com/ | sh | |
# Start Docker | |
# TODO update to handle multiple distros | |
service docker start | |
# Install Docker Compose | |
curl -L https://github.com/docker/compose/releases/download/1.6.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
usermod -aG docker $(who am i | awk '{print $1}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment