Last active
January 2, 2016 07:09
-
-
Save h2non/8268212 to your computer and use it in GitHub Desktop.
Docker installation script for Ubuntu 12.04
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 | |
# | |
# Docker installation script for Ubuntu 12.04 | |
# | |
if [ ! -f ~/.docker.lock ]; then | |
wget -qO --no-check-certificate - https://get.docker.io/gpg | sudo apt-key add - | |
sudo apt-get -y curl | |
curl -s https://get.docker.io/ubuntu/ | sudo bash | |
touch ~/.docker.lock | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment