Skip to content

Instantly share code, notes, and snippets.

@ircykk
Created February 18, 2018 10:01
Show Gist options
  • Save ircykk/d48880181ce9ac9f26c52983713e4414 to your computer and use it in GitHub Desktop.
Save ircykk/d48880181ce9ac9f26c52983713e4414 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates -y
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get purge lxc-docker
sudo apt-get install linux-image-extra-$(uname -r) -y
sudo apt-get install docker-engine cgroup-lite apparmor -y
# Install docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -a -G docker $USER
sudo service docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment