Created
December 10, 2016 08:31
-
-
Save sseidenthal/777842bf99ded5d51b978b99d189f54d to your computer and use it in GitHub Desktop.
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
#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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is the content of these pages, just created this script to be faster.
https://docs.docker.com/engine/installation/linux/ubuntulinux/
https://docs.docker.com/compose/completion/
https://docs.docker.com/compose/install/