Skip to content

Instantly share code, notes, and snippets.

@kennycyb
Created March 30, 2018 06:19
Show Gist options
  • Save kennycyb/b6b9aee71e19587c4a52fd786fee7621 to your computer and use it in GitHub Desktop.
Save kennycyb/b6b9aee71e19587c4a52fd786fee7621 to your computer and use it in GitHub Desktop.

Add user to docker group

To allow a user to execute docker command without 'sudo'

$ sudo groupadd docker
$ sudo usermod -aG docker $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment