Created
February 5, 2015 22:54
-
-
Save aschmoe/0b7c841d991b2eef4b4e to your computer and use it in GitHub Desktop.
Installing Docker + Fig properly
This file contains hidden or 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
############## | |
# Install Docker | |
# Complex (USE SIMPLE): | |
# sudo sh -c "echo deb https://get.docker.com/ubuntu docker main\ | |
# > /etc/apt/sources.list.d/docker.list" | |
# sudo apt-get update | |
# sudo apt-get install lxc-docker | |
# SIMPLE: | |
curl -sSL https://get.docker.com/ubuntu/ | sudo sh | |
######################################## | |
# DOCKER WITHOUT SUDO (need this for fig) | |
# From: https://docs.docker.com/installation/ubuntulinux/#giving-non-root-access | |
# Add the docker group if it doesn't already exist. | |
sudo groupadd docker | |
# Add the connected user "${USER}" to the docker group. | |
# Change the user name to match your preferred user. | |
# You may have to logout and log back in again for | |
# this to take effect. | |
sudo gpasswd -a ${USER} docker | |
# Restart the Docker daemon. | |
# If you are in Ubuntu 14.04, use docker.io instead of docker | |
sudo service docker restart | |
############ | |
# Install Fig | |
sudo apt-get install python-pip | |
sudo pip install -U fig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment