Reputation: 577
The Docker daemon is writing the following error message to my syslog file so many times, that I had to uninstall it to be able to use my computer:
Nov 17 14:49:14 mypc docker.dockerd[28517]: time="2019-11-17T14:49:14.045361383+01:00" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=plugins.moby
I have no idea why this behaviour started and would appreciate some advice, as I am a big fan of Docker. Thanks in advance!
Upvotes: 3
Views: 1160
Reputation: 16384
This is an Ubuntu bug. User either
sudo snap remove docker
Or
sudo apt purge docker.io
...to uninstall and truncate the syslog:
sudo truncate --size=0 /var/log/syslog
If you run into trouble, try truncating once before and after uninstalling.
Upvotes: 0
Reputation: 134
Got the same issue today myself.
Please have a look here: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1852720
sudo snap remove docker
Upvotes: 1