Answers for "docker specify user and group"

2

add user to docker group

sudo usermod -aG docker $USER   #$USER is your username
Posted by: Guest on November-21-2020
0

add user to docker group

sudo gpasswd -a $USER docker
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language