chldydgh4687 / 00Self-Linux_trial_and_error

Linux & DeepLearning
0 stars 0 forks source link

[SOLVED] docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/create: dial unix /var/run/docker.sock: connect: permission denied. #37

Open chldydgh4687 opened 4 years ago

chldydgh4687 commented 4 years ago
$ sudo usermod -a -G docker $USER
$ sudo reboot