Monday, March 1, 2021

Permission denied while trying to connect to the Docker daemon socket

Try the following command in the terminal after installing Docker.


  • sudo groupadd docker

  • sudo usermod -aG docker $USER

  • newgrp docker

  • docker ps              

  • Either reboot or log off and login and done.


No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

 Mastering Unix Commands: An In-depth Look at Chroot, Env, Nice, Nohup, StdBuf, and Timeout Hashtags: #UnixCommands #Chroot #Env #Nice #Nohu...