systemctl status docker -l
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since 六 2023-06-10 09:09:01 CST; 1min 9s ago
Docs: https://docs.docker.com
Process: 10070 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 10070 (code=exited, status=1/FAILURE)
6月 10 09:09:01 xianchaonode1 systemd[1]: start request repeated too quickly for docker.service
6月 10 09:09:01 xianchaonode1 systemd[1]: Failed to start Docker Application Container Engine.
6月 10 09:09:01 xianchaonode1 systemd[1]: Unit docker.service entered failed state.
6月 10 09:09:01 xianchaonode1 systemd[1]: docker.service failed.
6月 10 09:09:01 xianchaonode1 systemd[1]: start request repeated too quickly for docker.service
6月 10 09:09:01 xianchaonode1 systemd[1]: Failed to start Docker Application Container Engine.
6月 10 09:09:01 xianchaonode1 systemd[1]: docker.service failed.
6月 10 09:09:37 xianchaonode1 systemd[1]: start request repeated too quickly for docker.service
6月 10 09:09:37 xianchaonode1 systemd[1]: Failed to start Docker Application Container Engine.
6月 10 09:09:37 xianchaonode1 systemd[1]: docker.service failed.
更改文件后缀daemon.json为daemon.conf
mv /etc/docker/daemon.json /etc/docker/daemon.conf