Answers for "dockerfile set user and group"

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

Code answers related to "dockerfile set user and group"

Browse Popular Code Answers by Language