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

Enable shared folders in ubuntu in vmware?

 To enable Shared Folders in Ubuntu (VM) on VMware , follow these steps: Step 1: Enable Shared Folders in VMware Settings Power...