Answers for "dockerfile creating a user and assign a group at the same time"

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 "dockerfile creating a user and assign a group at the same time"

Browse Popular Code Answers by Language