Skip to content

Instantly share code, notes, and snippets.

@aya986
Created March 23, 2020 10:15
Show Gist options
  • Save aya986/4ba8cdc107635f1d42d9cde2ad937dbe to your computer and use it in GitHub Desktop.
Save aya986/4ba8cdc107635f1d42d9cde2ad937dbe to your computer and use it in GitHub Desktop.
# create back up
cat /etc/resolv.conf > resolv.conf.old
// add shekan dns for in /etc/resolv.conf
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
// check version of docker
docker version
// use Docker without sudo on Ubuntu
sudo usermod -aG docker your-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment