Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save namjae/d35c9ec21c7b7cf2a20fc1aca266419f to your computer and use it in GitHub Desktop.
Save namjae/d35c9ec21c7b7cf2a20fc1aca266419f to your computer and use it in GitHub Desktop.
ubuntu snap docker run as a normal user
Create and join the docker group.
$ sudo addgroup --system docker
$ sudo adduser $USER docker
$ newgrp docker
You will also need to disable and re-enable the docker snap if you added the group while it was running.
$ sudo snap disable docker
$ sudo snap enable docker
ref: https://github.com/docker-archive/docker-snap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment