Last active
May 27, 2016 14:37
-
-
Save jihchi/a1a7e37bfa76b4486cf9 to your computer and use it in GitHub Desktop.
Docker Engine Installation Script for Ubuntu 14.04 (LTS)
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
#!/bin/bash | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo touch /etc/apt/sources.list.d/docker.list | |
sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" >> /etc/apt/sources.list.d/docker.list' | |
sudo apt-get update | |
sudo apt-get install -y docker-engine | |
sudo service docker start | |
sudo usermod -aG docker $(whoami) |
Author
jihchi
commented
Apr 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment