Created
October 26, 2015 23:48
-
-
Save jackspirou/c9c648555cee7c5106b1 to your computer and use it in GitHub Desktop.
This script is for installing docker using AUSF on Ubuntu 14.04. It is a combination of input from this gist: https://gist.github.com/parente/025dcb2b9400a12d1a9f
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
#!/bin/bash | |
sudo rm -rf /var/lib/docker | |
sudo service docker stop | |
sudo apt-get remove lxc-docker | |
sudo apt-get autoremove | |
which docker # show docker version | |
sudo apt-get update | |
sudo apt-get -y install linux-image-extra-$(uname -r) | |
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update | |
sudo apt-get -y install lxc-docker | |
sudo service docker stop | |
sudo rm -fr /var/lib/docker # this will blow away any existing images | |
sudo service docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment