Skip to content

Instantly share code, notes, and snippets.

@bnortman
Forked from jacobtomlinson/get-toolbox.sh
Created April 2, 2017 05:08
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 bnortman/a6738037c3e2186079adccbaaed9ebec to your computer and use it in GitHub Desktop.
Save bnortman/a6738037c3e2186079adccbaaed9ebec to your computer and use it in GitHub Desktop.
Docker toolbox for linux
#!/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