Hi All, most of you all received the above error when you ran the docker commands without sudo permission,
The above error says the user is not able to reach docker engine to perform the tasks. As a dirty fix, you can run the command with sudo if you don’t have time to fix. OR else you go to this solution.
here is the solution to recover from this issue
Step 1: Add the user to the docker group
After this, you would be able to perform docker commands without sudo.
if this doesn’t solve your issue to reboot the server once.
© 2018, Techrunnr. All rights reserved.