Docker Run Without Sudo command | Got permission denied issue #Docker #StudyAlong

preview_player
Показать описание


Run below command:
Create the docker group if it does not exist
$ sudo groupadd docker
Add your user to the docker group.
$ sudo usermod -aG docker $USER
Run the following command or Logout and login again and run (that doesn't work you may need to reboot your machine first)
$ newgrp docker
Check if docker can be run without root
$ docker run hello-world

Рекомендации по теме