docker起不来报错:Failed to start Docker Application Container Engine.

报错信息如下:

[[email protected] localdisk]# systemctl restart docker

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

[[email protected] localdisk]# systemctl status docker

docker.service - Docker Application Container Engine

Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)

Active: failed (Result: exit-code) since 日 2019-05-19 17:15:19 CST; 6s ago

Docs: http://docs.docker.com

Process: 13393 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 --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json --graph=/localdisk/docker --storage-driver=overlay --registry-mirror=https://docker.mirrors.ustc.edu.cn $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)

Main PID: 13393 (code=exited, status=1/FAILURE)

5月 19 17:15:19 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...

5月 19 17:15:19 localhost.localdomain dockerd-current[13393]: unable to configure the Docker daemon with file /etc/docker/daemon.json: the following direc...edu.cn])

5月 19 17:15:19 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE

5月 19 17:15:19 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.

5月 19 17:15:19 localhost.localdomain systemd[1]: Unit docker.service entered failed state.

5月 19 17:15:19 localhost.localdomain systemd[1]: docker.service failed.

Hint: Some lines were ellipsized, use -l to show in full.

解决方法:

1.防火墙和selinux都关了

2.修改/etc/docker/daemon.json这个文件(就这样粘贴复制,别多逗号)

{

"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]

}

3.重启docker,在不行重启虚拟机

systemctl daemon-reload

systemctl restart docker

效果如下:

原文地址:https://www.cnblogs.com/ming369/p/10890562.html

时间: 2024-10-28 12:39:29

docker起不来报错:Failed to start Docker Application Container Engine.的相关文章

Docker中启动mysql报错: Failed to get D-Bus connection

docker版本: [[email protected] ~]# docker versionClient: Version:         1.10.3 API version:     1.22 Package version: docker-common-1.10.3-46.el7.centos.10.x86_64 Go version:      go1.6.3 Git commit:      d381c64-unsupported Built:           Thu Aug

docker 报错: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

centos 启动docker服务报错: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 1,create daemon.json in /etc/docker/ 2, put this in it: { &q

fetch 报错 Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.

TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. 在"窗口"上执行"取"失败:GET / get方法的请求不能有正文. GET requests can't have a request body, you can't make them have one. GET requests only retrieve data,

Vue.js报错Failed to resolve filter问题原因

Vue.js报错Failed to resolve filter问题原因 金刚 vue Vue.js js javascript 之前使用vue.js写分页功能时,写了一个过滤器,发现一个比较奇怪的错误. console控制台调试的时候 提示错误消息: Failed to resolve filter: HomePage console错误信息.jpg 我原来的写法: 原来的错误写法.jpg 错误原因 经过自己的摸索,后来发现竟然是代码顺序错误问题... 由于先执行的pageList,后执行的V

MyEclipse打开 HTML 报错Failed to create the part's controls

拷贝代码时有时会弹出这个错误,页面仍然可以访问,但是无法编辑很郁闷. MyEclipse默认打开编辑页面是MyEclipse visual html designer 右击html页面选择open with,点击 MyEclipse html Editer即可. MyEclipse打开 HTML 报错Failed to create the part's controls

Eclipse启动 报错[Failed to load the JNI shared library jvm.dll

准备要做java服务器,在安装开发环境时,启动Eclipse报错[Failed to load the JNI shared library jvm.dll] 研究了下,造成错误的原因是由于eclipse与jdk的不一致造成的. 我的开发环境是64位windows8 Pro,安装了64位jdk1.6,eclipse却粗物的安装了32位的版本,由于64位和32位匹配不一致,造成了以上错误的发生. 又尝试了一下,32位jdk+64位eclipse也会发生同样的问题. 好了,解决方法很简单,jdk和e

nmap报错: Failed to open device ethxxx

nmap报错:  Failed to open device ethxxx 周银辉 今天用nmap时, 报错:   Failed to open device eth4, 好郁闷. 调查了一下, 是winpcap引起的, 卸载掉winpcap,重新安装winpcap即可. winpcap下载地址: http://www.winpcap.org/install/default.htm

mvn install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2 错误: 找不到符号

报错信息 在Eclipse中执行mvn install时,console端显示如下报错信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project ERP: Compilation failure: Compilation failure: [ERROR] \test01\src\main\java\HStyl

inotify报错Failed to watch /opt; /proc/sys/fs/inotify/max_user_watches,K哥

2016.11.8 K哥有2台服务器使用了unison+inotify达到网站文件夹时时同步的效果 今天突然发现inotify占用很大CPU,可以用top命令查看 打开inotify日志查看原因 发现这一报错 Failed to watch /opt; upper limit on inotify watches reached!Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/ino