Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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