preview image
Posted by February 9 2018 / 赵化冰博客
Updated on June 29 2023
57 words
1 minutes read

... visits

Add the docker group if it doesn’t already exist:

sudo groupadd docker

Add the connected user “$USER” to the docker group. Change the user name to match your preferred user if you do not want to use your current user:

sudo gpasswd -a $USER docker

Either do a newgrp docker or log out/in to activate the changes to groups.

On this page