Created
July 20, 2016 14:00
-
-
Save cr0hn/68643930f8b5ae293f9cfc5c5f495d29 to your computer and use it in GitHub Desktop.
Bash for install Docker in Ubuntu 16
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
sudo apt-get update && apt-get -y install linux-image-extra-$(uname -r) | |
sudo apt-get -y install apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo deb https://apt.dockerproject.org/repo ubuntu-xenial main > /etc/apt/sources.list.d/docker.list | |
sudo apt-get update -y | |
sudo apt-get purge -y lxc-docker | |
sudo apt-get install -y docker-engine docker-compose | |
sudo service docker start | |
init 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment