Last active
October 11, 2017 03:09
-
-
Save aqzlpm11/7b5f94224b1c1661c6472ab9b7e24a4f to your computer and use it in GitHub Desktop.
Install docker at ubuntu 16.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/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