WebHosting

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

How to Enable and Configure Remote Desktop (RDP) on Ubuntu 24.04.4 LTS

Remote Desktop Protocol (RDP) support in Ubuntu has become considerably easier with the GNOME Remote Desktop stack included in modern Ubuntu...