-
-
Save Alex-Yiqun-Zhao/6be7ec72d08036716d3c219954d33a33 to your computer and use it in GitHub Desktop.
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
# install docker | |
curl -fsSL get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
if [ ! $(getent group docker) ]; | |
then | |
sudo groupadd docker; | |
else | |
echo "docker user group already exists" | |
fi | |
sudo gpasswd -a $USER docker | |
sudo service docker restart | |
rm -rf get-docker.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment