Last active
March 20, 2017 19:59
-
-
Save cicorias/8909c4b36af11ee6797f88ada7d567d8 to your computer and use it in GitHub Desktop.
another docker install on 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
#!/usr/bin/env bash | |
# from https://www.liquidweb.com/kb/how-to-install-docker-on-ubuntu-14-04-lts/ | |
sudo apt-get update | |
sudo apt-get -y install docker.io | |
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker | |
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker | |
sudo update-rc.d docker defaults | |
sudo gpasswd -a ${USER} docker | |
sudo service docker restart |
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
#!/usr/bin/env/bash | |
docker pull ubuntu | |
docker run -i -t ubuntu /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment