Docker stop working

Hello,

My docker stopped working all of a sudden. I’ve tried to reinstall but had no luck.

feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.778772142+01:00" level=warning msg="Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man dockerd` to refer to dm.thinpooldev section." storage-driver=devicemapper
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.821655555+01:00" level=warning msg="Base device already exists and has filesystem xfs on it. User specified filesystem  will be ignored." storage-driver=devicemapper
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.885006692+01:00" level=error msg="[graphdriver] prior storage driver devicemapper is deprecated and will be removed in a future release; update the the daemon configuration and explicitly choose this storage driver to continue using it; visit https://docs.docker.com/go/storage-driver/ for more information"
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.885550134+01:00" level=info msg="[core] [Channel #1] Channel Connectivity change to SHUTDOWN" module=grpc
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.885628985+01:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel Connectivity change to SHUTDOWN" module=grpc
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.885669354+01:00" level=info msg="[core] [Channel #1 SubChannel #2] Subchannel deleted" module=grpc
feb 27 08:31:28 dockerd[6282]: time="2023-02-27T08:31:28.885686396+01:00" level=info msg="[core] [Channel #1] Channel deleted" module=grpc
feb 27 08:31:28 dockerd[6282]: failed to start daemon: error initializing graphdriver: prior storage driver devicemapper is deprecated and will be removed in a future release; update the the daemon configuration and explicitly choose this storage driver to continue using it; visit https://docs.docker.com/go/storage-driver/ for more information
feb 27 08:31:28 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
feb 27 08:31:28 systemd[1]: docker.service: Failed with result 'exit-code'.
feb 27 08:31:28 systemd[1]: Failed to start Docker Application Container Engine.
feb 27 08:31:30 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
feb 27 08:31:30 systemd[1]: Stopped Docker Application Container Engine.
feb 27 08:31:30 systemd[1]: docker.service: Start request repeated too quickly.
feb 27 08:31:30 systemd[1]: docker.service: Failed with result 'exit-code'.
feb 27 08:31:30 systemd[1]: Failed to start Docker Application Container Engine.

Any idea?

There are threads and posts about it.

  1. You can try installing apparmor. That might get it working.
  2. You can try adding an override for LimitNOFILE as mentioned in /etc/docker.service.d/override.conf containing:
[Service]
LimitNOFILE=1048576

You may need to add the same to /etc/containerd.service.d/override.conf.

I’ve tried both and no effect

Okay, now works. I’ve fixed configuring overlay2. Following this guide:

1 Like

The OverlayFS fix from the Docker website worked for me too.

Beware that this will move all your current docker images in a backup repository and you will have either to figure out how to bring them back or start clean with docker pull.