Skip to content

Instantly share code, notes, and snippets.

@sseidenthal
Created December 10, 2016 08:31
Show Gist options
  • Save sseidenthal/777842bf99ded5d51b978b99d189f54d to your computer and use it in GitHub Desktop.
Save sseidenthal/777842bf99ded5d51b978b99d189f54d to your computer and use it in GitHub Desktop.
#docker install on ubuntu 16.04 LTS
sudo apt update
sudo apt install apt-transport-https ca-certificates
sudo sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt upgrade
sudo apt-cache policy docker-engine
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt install docker-engine
sudo service docker start
sudo usermod -aG docker steve
sudo curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
@sseidenthal
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment