Skip to content

Instantly share code, notes, and snippets.

@h2non
Last active January 2, 2016 07:09
Show Gist options
  • Save h2non/8268212 to your computer and use it in GitHub Desktop.
Save h2non/8268212 to your computer and use it in GitHub Desktop.
Docker installation script for Ubuntu 12.04
#!/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