docker重启后启动失败Failed to start Docker Application Container Engine.

Docker容器启动失败 Failed to start Docker Application Container Engine的解决办法 1.关闭docker中的selinux vim /etc/sysconfig/docker 2.重新启动docker systemctl restart docker systemctl status docker 3.修改/etc/docker/daemon.json这个文件 { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } 重启docker配置,重启docker systemctl daem 阅读详情

刚刚弄了docker重启了一下,本来启动得好好的,重启系统后就不行了

一直给我报错

最开始是这样的

[root@server run]# 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 Thu 2017-12-14 10:56:34 EST; 2min 38s ago
     Docs: http://docs.docker.com
  Process: 10755 ExecStart=/usr/bin/docker-current daemon --exec-opt native.cgroupdriver=systemd $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)
 Main PID: 10755 (code=exited, status=1/FAILURE)

Dec 14 10:56:33 server systemd[1]: Starting Docker Application Container Engine...
Dec 14 10:56:33 server docker-current[10755]: time="2017-12-14T10:56:33.627099954-05:00" level=warning msg="devmapper: Usage of loopback devices is strongly discou...v section."
Dec 14 10:56:33 server docker-current[10755]: time="2017-12-14T10:56:33.643888204-05:00" level=info msg="devmapper: Creating filesystem xfs on device docker-253:0-...61896-base"
Dec 14 10:56:34 server docker-current[10755]: time="2017-12-14T10:56:34.163161282-05:00" level=info msg="devmapper: Successfully created filesystem xfs on device d...61896-base"
Dec 14 10:56:34 server docker-current[10755]: time="2017-12-14T10:56:34.290819345-05:00" level=warning msg="Docker could not enable SELinux on the host system"
Dec 14 10:56:34 server docker-current[10755]: time="2017-12-14T10:56:34.325390849-05:00" level=fatal msg="Error starting daemon: Error loading key file /etc/docker...ON input\n"
Dec 14 10:56:34 server systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Dec 14 10:56:34 server systemd[1]: Failed to start Docker Application Container Engine.
Dec 14 10:56:34 server systemd[1]: Unit docker.service entered failed state.
Dec 14 10:56:34 server systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

给我提示 msg="Error starting daemon: Error loading key file /etc/docker...ON input\n"

我开始也没有在意,一直在用网上的方法试什么删除/var/run/docker.sock,或者是删除rm -rf /var/lib/docker/

最着不住的是居然看见有人说再重启系统后就能成功,简直是。。。。惊恐可怕!!

当然以上都没有成功。。。


然后报错信息突然变了

[root@server ~]# 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 Thu 2017-12-14 11:10:24 EST; 36s ago
     Docs: http://docs.docker.com
  Process: 2403 ExecStart=/usr/bin/docker-current daemon --exec-opt native.cgroupdriver=systemd $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)
 Main PID: 2403 (code=exited, status=1/FAILURE)

Dec 14 11:10:24 server systemd[1]: Starting Docker Application Container Engine...
Dec 14 11:10:24 server docker-current[2403]: time="2017-12-14T11:10:24.532194806-05:00" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Plea...ldev section."
Dec 14 11:10:24 server docker-current[2403]: time="2017-12-14T11:10:24.547180234-05:00" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified fi...l be ignored."
Dec 14 11:10:24 server docker-current[2403]: time="2017-12-14T11:10:24.554895833-05:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""
Dec 14 11:10:24 server docker-current[2403]: time="2017-12-14T11:10:24.555289136-05:00" level=warning msg="Docker could not enable SELinux on the host system"
Dec 14 11:10:24 server docker-current[2403]: time="2017-12-14T11:10:24.885244154-05:00" level=fatal msg="Error starting daemon: Error loading key file /etc/docker/key.json: unable to decode pr... JSON input\n"
Dec 14 11:10:24 server systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Dec 14 11:10:24 server systemd[1]: Failed to start Docker Application Container Engine.
Dec 14 11:10:24 server systemd[1]: Unit docker.service entered failed state.
Dec 14 11:10:24 server systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
level=fatal msg="Error starting daemon: Error loading key file /etc/docker/key.json: unable to decode pr... JSON input\n"
我去这次显示得如此清楚,以前的那个我就没有注意看。。。
尴尬

解决方法:当然是删除key.json

[root@registry run]# rm /etc/docker/key.json 
rm: remove regular empty file ‘/etc/docker/key.json’? y
[root@registry run]# systemctl start docker.service


本来我以为我写完了,然后我发现我另外几台删了也启动不了。。。

请把rm -rf /var/lib/docker/一并删除

[root@client1 ~]# rm /etc/docker/key.json 
rm: remove regular empty file ‘/etc/docker/key.json’? y
[root@client1 ~]# 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.
[root@client1 ~]# rm -rf /var/lib/docker/
[root@client1 ~]# systemctl restart docker

解决问题,看来以后得多注意下细节


docker.service启动报错的一次排查详解 执行以下命令报错 systemctl restart docker 查看错误信息 systemctl status docker -l 报错信息如下: ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/docker.service.d └─kolla.conf Act 立即下载

相关推荐

从零开始:H20服务器上DeepSeek R1 671B大模型部署与压力测试全攻略

最近,我有幸在工作中接触到了DeepSeek R1 671B模型,这是目前中文开源领域参数量最大的高质量模型之一。DeepSeek团队在2024年推出的这款模型,以其惊人的6710亿参数量和出色的推理性能,引起了业界广泛关注。作为一名AI基础设施工程师,我有机会在H20服务器上部署这个庞然大物,并对其进行了全面的压力测试。这篇文章将详细记录我的部署过程和性能测试方法,希望能为大家提供一些参考。💡为什么选择DeepSeek R1?超大规模参数量(671B)优秀的中英文理解能力开源可商用的许可证。

wangli的博客 1万+

Docker启动失败报错Failed to start Docker Application Container Engine解决方案

在给一台腾讯云机器安装docker后发现无法启动,总是报错Failed to start Docker Application Container Engine,解决思路分享一下,以免各位童鞋踩坑。 1 安装Docker 说明:本文仅针对Linux CentOS 7环境下进行讲解,Mac版本请在官方下载Docker.dmg安装(留意:Macbook 没有yum、systemctl、service等Linux系统的命令,建议下载dmg桌面版Docker使用、配置方便。当然也可以brew install

五维空间 6万+

(一)ANSYS WORKBENCH实践入门

ANSYS-workbench 有限元分析应用基础教程 (张晔)学习笔记

qq_51767372的博客 1万+

Docker容器启动失败 Failed to start Docker Application Container Engine

输入命令 “ systemctl status docker ” ,提示 “Docker应用程序容器引擎未能启动” 出现如下图: 接下来,找了很多博客,最终出了个简单方法,就是删除,重装 yum remove docker-* 再删除所有docker的包,在删除的过程中,建议重启服务器(或者杀掉所有docker进程),期间可能还有docker进程在占用文件夹的情况,导致服务删除失败的问题, 删除 ...

asd52656的博客 1万+

5-DOF机械臂课程设计(一)之正逆运动学

文章目录基本要求基本概念关节坐标系的建立正运动学求解DH参数表的建立逆运动学求解多解下解的选取源码下载后续 基本要求 ​ 开发上位机程序,要求有良好的界面,能提供关节空间下和笛卡尔坐 标下表示的目标位姿点和中间若干经过点的输入功能,进行轨迹规划, 并控制机械臂沿轨迹运动,最终完成目标抓取的任务。 基本概念 连杆长度 :2个相邻关节轴线之间的距离 连杆扭角 :2个相邻关节轴线之间的角度 连杆偏距 :2个关节坐标系的X轴之间的距离 关节角度 :关节变量 计算时需要加初始角度偏移 关节坐标系的建立 ​ 根据《机

Rosen的博客 5858

阿里云导出的镜像raw转换成vmdk格式工具

阿里云导出的镜像raw转换成vmdk格式工具 1.安装java环境,安装教程不介绍了 2.raw2vmdk软件下载: 在我的链接里面: 3.使用 打开cmd.bat软件: java -jar raw2vmdk.jar (原镜像)C:\\images\\raw\\disk.img (转换的镜像)D:\\images\\vmdk\\disk.vmdk 4.vmware打开vmdk文件 ...

3844

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

docker起不来报错:Failed to start Docker Application Container Engine [root@master01 ~]# systemctl daemon-reload [root@master01 ~]# systemctl start docker Job for docker.service failed because the control process exited with error code. See “systemctl status doc

zhiboqingyun的博客 2672

esp32s3 spi camera gc6133调试

gc6133 spi只有master模式,同时需要esp32提供主时钟,需要有主时钟然后才能通过i2c进行初始化.测试了几种方式,记录如下。

hclydao的专栏 1564

2020-12-02

docker服务未启动,报错信息:Failed to start Docker Application Container Engine. 环境:ubuntu18.04 查看docker服务状态 sudo systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor

weixin_45810706的博客 257

YOLOv11改进 | 主干/Backbone篇 | 利用RT-DETR主干网络PPHGNetV2助力yolov11有效涨点(轻量化目标检测网络)

本文给大家带来利用RT-DETR模型主干HGNet去替换YOLOv11的主干,RT-DETR是今年由百度推出的第一款实时的ViT模型,其在实时检测的领域上号称是打败了YOLO系列,其利用两个主干一个是HGNet一个是ResNet,其中HGNet就是我们今天来讲解的网络结构模型,这个网络结构目前还没有推出论文,所以其理论知识在网络上也是非常的少,我也是根据网络结构图进行了分析(精度mAP提高0.05)。YOLOv11改进系列专栏——本专栏持续复习各种顶会内容——科研必备​目录一、本文介绍。

Snu77的博客 3721

PyCharm 接入 OpenAI Codex CLI 的 4 步配置与调试实录

揭示 Codex CLI 在 PyCharm 中上下文失稳的四大根源:CLI 启动模式与 IDE 进程模型冲突、stdin/stdout 流式处理不兼容、环境变量污染、AST 注释缺失,并给出基于 Shell 脚本桥接与结构化上下文注入的稳定接入方案。

weixin_42627902的博客 374

关于一次docker启动不了的问题处理

docker因centos内核更新后,从新安装无法启动

q1947526759的博客 1452

UDS诊断服务基础详解之七-31服务

本节内容主要是讲解诊断服务中的31服务,包含31服务的使用场景,请求报文格式,响应报文格式,以及举例对31服务进行相关的说明

车载网络小D的博客 5629

启动docker报错 Failed to start Docker Application Container Engine.

启动docker报错 Failed to start Docker Application Container Engine.

WXD1234Q的博客 490

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

运维之docker启动失败Failed to start Docker Application Container Engine.

查看docker服务状态 重启docker服务 以下是解决办法 查看 daemon.json cat /etc/docker/daemon.json 看不出来什么,其实这个是daemon.json配置的docker容器加速器,配置它的目的是拉取镜像更快速 vim /etc/docker/daemon.json 一定要缩进 就是daemon.json文件中采用缩进可以,但是不能出现空格 重新加载daemon.json配置 systemctl daemon-rel.

想练武,就得下功夫 7万+

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

Failed to start Docker Application Container Engine 解决方案

[root@localhost docker]# systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Wed 2...

陈苏漾的IT生涯 3万+

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

docker启动报错:Failed to start Docker Application Container Engine。

目录 现象:docker没有启动起来 查看docker 状态,为failed。 手动启动dockerd 检查daemon.json 修改daemon.json 用systemctl启动daemon和docker 为什么使用ipv6:true会导致docker无法正常启动? 现象:docker没有启动起来 查看elasticsearch服务是否存在 [root@warehouse00 ~]# docker ps|grep elastic Cannot connect to the D..

Yu的博客 6万+

HoRain云--Docker报错:Failed to start Docker Application Container Engine解决方案

针对Docker启动失败的问题,提供了详细的排查与解决方案,包括快速诊断步骤、常见原因及解决方案、高级修复方案和预防措施。文章最后鼓励读者持续学习,并欢迎批评指正。

2401_86544677的博客 2873

Docker容器启动失败 Failed to start Docker Application Container Engine 的解决办法

Failed to start Docker Application Container Engine Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” f...

yimenglin的博客 2万+

docker启动失败:Failed to start Docker Application Container Engine.

Docker官方仓库的速度会比较慢,可以配一个官方的中国加速镜像 方法是:修改 /etc/docker/daemon.json 加上如下的键值: { "registry-mirrors": ["https://registry.docker-cn.com"] } 然后重启docker即可 但是重启却报错,根据提示查看docker服务状态,Failed to start Docker Application Container Engine. 解决方法: daemon.json...

qq_43159578的博客 2万+

Docker Failed to start Docker Application Container Engine.

docker重启后遇到这个问题,记录一下解决办法 systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: di...

God丶Davide的博客 5万+

ubuntu docker启动失败Failed to start Docker Application Container Engine.

[root@localhost 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. [root@localhost localdisk]# systemctl status do

weixin_44580216的博客 4767

Docker启动失败 Failed to start Docker Application Container Engine.

9月 07 15:28:18 localhost.localdomain dockerd[5112]: unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character 's' looking for beginning of value。

. 1254

docker安装完成启动不了(报错:Failed to start Docker Application Container Engine.)

废话不多说,直接上干货 进入正题: 一、Docker—安装部署 注意:Docker 运行在 CentOS 7 上,要求系统为64位、系统内核版本为 3.10 以上 1、使用yum update确保 yum 包更新到最新。 yum update 2、卸载旧版本(如果安装过旧版本的话,没安装过直接跳过) yum remove docker docker-common docker-selinux...

lin小将的博客 8453
上一篇: openstack中关于报错AMQP5672拒绝连接问题
下一篇: 关于neutron.service启动不成功
不想飞的狗
博客等级 码龄9年 160粉丝 106原创
评论 15
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值