Skip to content

Instantly share code, notes, and snippets.

@aqzlpm11
Last active October 11, 2017 03:09
Show Gist options
  • Save aqzlpm11/7b5f94224b1c1661c6472ab9b7e24a4f to your computer and use it in GitHub Desktop.
Save aqzlpm11/7b5f94224b1c1661c6472ab9b7e24a4f to your computer and use it in GitHub Desktop.
Install docker at ubuntu 16.04
#!/bin/sh
# Warning: This script is untested. (copy from command history)
# Install
curl -fsSL get.docker.com -o get-docker.sh | exit -1
sudo sh get-docker.sh | exit -1
# Add user to docker group (sudoless)
sudo gpasswd -a ${USER} docker | exit -1
echo "Install Complete! You need to relogin to user docker!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment