Docker daemon failed


I edited your messages. Please, format your post next time according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.

Example code block:

```
echo "I am a code."
echo "An athletic one, and I wanna run."
```

Asking you for running docker info would not have been necessary as you shared the output of the service status. It shows that the socket has bad unit file setting. So you probably edited that. If you share the content of the file you edited, I can try to tell you what is wrong. By the way editing systemd unit files using a text editor is not recommended. It is better using the systemctl edit command whichc reates an override file.

For now, please, show the output of the following command:

cat /etc/systemd/system/sockets.target.wants/docker.socket

This is how mine looks like:

[Unit]
Description=Docker Socket for the API

[Socket]
# If /var/run is not implemented as a symlink to /run, you may need to
# specify ListenStream=/var/run/docker.sock instead.
ListenStream=/run/docker.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker

[Install]
WantedBy=sockets.target
1 Like