Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save namjae/d35c9ec21c7b7cf2a20fc1aca266419f to your computer and use it in GitHub Desktop.

Select an option

Save namjae/d35c9ec21c7b7cf2a20fc1aca266419f to your computer and use it in GitHub Desktop.

Revisions

  1. @lixianyang lixianyang created this gist Sep 17, 2021.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    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