Answers for "how to add user to docker group in linux"

2

add user to docker group

sudo usermod -aG docker $USER
sudo rm -fr /var/run/docker.sock && sudo reboot
Posted by: Guest on July-01-2021
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

Code answers related to "how to add user to docker group in linux"

Browse Popular Code Answers by Language