Hello
This morning, I update my docker installation on ubuntu 22.04 to version 23.0.0.
I have a configuration to use another partition for my docker stuff, and I update my /usr/lib/systemd/system/docker.service
:
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
to
ExecStart=/usr/bin/dockerd -g /home/docker -H fd:// --containerd=/run/containerd/containerd.sock
And when I start docker.service after systemctl daemon-reload
, there is this message:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
And systemctl status docker.service:
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-02-03 15:36:28 CET; 24min ago
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Process: 9448 ExecStart=/usr/bin/dockerd -g /home/docker -H fd:// --containerd=/run/containerd/containerd.sock (code=exited,>
Main PID: 9448 (code=exited, status=1/FAILURE)
CPU: 70ms
févr. 03 15:36:28 laurent-ubuntu-5 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
févr. 03 15:36:28 laurent-ubuntu-5 systemd[1]: Stopped Docker Application Container Engine.
févr. 03 15:36:28 laurent-ubuntu-5 systemd[1]: docker.service: Start request repeated too quickly.
févr. 03 15:36:28 laurent-ubuntu-5 systemd[1]: docker.service: Failed with result 'exit-code'.
févr. 03 15:36:28 laurent-ubuntu-5 systemd[1]: Failed to start Docker Application Container Engine.
I try to remove --purge docker installation, and reinstall, but same error still here.
If I don’t change the /usr/lib/systemd/system/docker.service
, all works fine…
Have you this same problem?