Skip to content

Instantly share code, notes, and snippets.

@zilin
Created May 24, 2014 03:15
Show Gist options
  • Save zilin/50d60ef774c3af854eed to your computer and use it in GitHub Desktop.
Save zilin/50d60ef774c3af854eed to your computer and use it in GitHub Desktop.
# create the 'docker' group
vagrant@vagrant-ubuntu-raring-64:~$ sudo groupadd docker
# add your user to the 'docker' group
vagrant@vagrant-ubuntu-raring-64:~$ sudo gpasswd -a vagrant docker
Adding user vagrant to group docker
# restart docker so it uses the 'docker' group
vagrant@vagrant-ubuntu-raring-64:~$ sudo service docker restart
docker stop/waiting
docker start/running, process 12032
re-login to make group effect!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment