I am trying to run my Docker commands, but I am facing the notification error in the title. I tried running:
ps auxww | grep docker
but sti
In my case I had multiple docker instances running so it didn't know what to attach to. After killing them and restarting, my problem was solved.
How about launching the daemon
sudo service docker start
should do the trick.
Or
sudo docker -d
If you can verify that the docker daemon is running then it may be that your user is not allowed to access docker.
To do this add yourself to the docker group.
sudo usermod -aG docker <userid>
Remember to do a re-login or otherwise apply/activate the new group permission.
newgrp docker