Docker守护进程启动报错 unable to configure the Docker daemon with file /etc...n: EOF\n

版权声明:本文为博主原创文章,转载文章须附上文章来源与作者。 https://blog.csdn.net/ChangerJJLee/article/details/84575684

docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-11-20 10:55:00 CST; 59s ago
Docs: http://docs.docker.com
Process: 6025 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
Main PID: 6025 (code=exited, status=1/FAILURE)

Nov 20 10:55:00 k8s_master systemd[1]: Starting Docker Application Container Engine…
Nov 20 10:55:00 k8s_master dockerd-current[6025]: time=“2018-11-20T10:55:00+08:00” level=fatal msg=“unable to configure the Docker daemon with file /etc…n: EOF\n”
Nov 20 10:55:00 k8s_master systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Nov 20 10:55:00 k8s_master systemd[1]: Failed to start Docker Application Container Engine.
Nov 20 10:55:00 k8s_master systemd[1]: Unit docker.service entered failed state.
Nov 20 10:55:00 k8s_master systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

解决方法:
[root@ ~]# cat /etc/docker/daemon.json
{}

猜你喜欢

转载自blog.csdn.net/ChangerJJLee/article/details/84575684