Answers for "user root dockerfile"

6

make docker sudo less

$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ newgrp docker
Posted by: Guest on May-05-2020
0

docker exec bash root user

docker exec -u root -it <container-id> /bin/bash
Posted by: Guest on March-05-2021
0

docker root

$ sudo groupadd docker
Posted by: Guest on May-29-2021

Browse Popular Code Answers by Language