Last active
October 13, 2016 22:31
-
-
Save giggio/d1391ad8fad5dbc9e1256ecbdd7b6d3a to your computer and use it in GitHub Desktop.
install-docker
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
#!/usr/bin/env bash | |
apt-get update | |
apt-get -y install apt-transport-https ca-certificates | |
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 | |
apt-get update | |
apt-get purge lxc-docker | |
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
apt-get install -y docker-engine | |
service docker start | |
systemctl enable docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment