docker error panic: runtime error: invalid memory address or nil pointer dereference

created at 09-08-2021 views: 205

error

docker startup error

check log /var/log/messages

tail -n 200 /var/log/messages
docker.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 8 10:12:11 hdss7-200 systemd: Failed to start Docker Application Container Engine.
Sep 8 10:12:11 hdss7-200 systemd: Unit docker.service entered failed state.
Sep 8 10:12:11 hdss7-200 systemd: docker.service failed.
Sep 8 10:12:13 hdss7-200 systemd: docker.service holdoff time over, scheduling restart.
Sep 8 10:12:13 hdss7-200 systemd: Stopped Docker Application Container Engine.
Sep 8 10:12:13 hdss7-200 systemd: Starting Docker Application Container Engine…
...
Sep 8 10:12:13 hdss7-200 dockerd: panic: runtime error: invalid memory address or nil pointer dereference
...
Sep 8 10:12:13 hdss7-200 systemd: Failed to start Docker Application Container Engine.
Sep 8 10:12:13 hdss7-200 systemd: Unit docker.service entered failed state.
Sep 8 10:12:13 hdss7-200 systemd: docker.service failed.

solution

Delete the file under the /data/docker path

created at:09-08-2021
edited at: 09-08-2021: