
# systemctl status docker.service -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 二 2022-06-21 23:26:05 PDT; 5s ago
Docs: https://docs.docker.com
Process: 2075 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 2075 (code=exited, status=1/FAILURE)
6月 21 23:26:03 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
6月 21 23:26:03 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
6月 21 23:26:03 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
6月 21 23:26:03 localhost.localdomain systemd[1]: docker.service failed.
6月 21 23:26:05 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
6月 21 23:26:05 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
6月 21 23:26:05 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
6月 21 23:26:05 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
6月 21 23:26:05 localhost.localdomain systemd[1]: docker.service failed.
修改 /etc/docker/daemon.json 文件
我的配置是:
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
发布者:Johngo学长。文章已受到原创版权保护。
转载请注明出处:https://www.johngo689.com/4919/