CentOS Stream9 Mini 版本 Docker 启动失败,错误 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=127)

本文将介绍 CentOS Stream9 Mini 版本 Docker 启动失败,抛出错误 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=127) 信息。

CentOS Stream9 Mini 版本 Docker 启动失败,使用 systemctl status docker.service 查看服务状态信息如下:

[root@centos9 ~]# systemctl status docker.service
× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sat 2025-12-27 21:12:06 CST; 10s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 69306 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=127)
   Main PID: 69306 (code=exited, status=127)
        CPU: 9ms

Dec 27 21:12:06 centos9 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Dec 27 21:12:06 centos9 systemd[1]: Stopped Docker Application Container Engine.
Dec 27 21:12:06 centos9 systemd[1]: docker.service: Start request repeated too quickly.
Dec 27 21:12:06 centos9 systemd[1]: docker.service: Failed with result 'exit-code'.
Dec 27 21:12:06 centos9 systemd[1]: Failed to start Docker Application Container Engine.

网上找了很多方法都没有成功,也重新安装依然失败。

最后,试着使用 dnf update -y 命令升级系统现有包,如下:

# 升级系统现有包
dnf update -y

当更新完成后,再使用 systemctl start docker 命令试着启动 Docker 服务,成功了,如下:

[root@centos9 ~]# systemctl status docker
● docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; preset: disabled)
     Active: active (running) since Sat 2025-12-27 21:48:57 CST; 50s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 163425 (dockerd)
      Tasks: 8
     Memory: 41.3M
        CPU: 839ms
     CGroup: /system.slice/docker.service
             └─163425 /usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock

Dec 27 21:48:56 centos9 dockerd[163425]: time="2025-12-27T21:48:56.627629146+08:00" level=info msg="Deleting nftables IPv6 rules" error="exit status 1"
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.408532400+08:00" level=info msg="Loading containers: done."
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.448272480+08:00" level=warning msg="[DEPRECATION NOTICE]: API is accessible on http://0.0.0.0:2375 without encryptio>
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.448422985+08:00" level=info msg="Docker daemon" commit=fbf3ed2 containerd-snapshotter=false storage-driver=overlay2 >
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.448537728+08:00" level=info msg="Initializing buildkit"
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.510661302+08:00" level=info msg="Completed buildkit initialization"
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.523218999+08:00" level=info msg="Daemon has completed initialization"
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.523613015+08:00" level=info msg="API listen on /var/run/docker.sock"
Dec 27 21:48:57 centos9 dockerd[163425]: time="2025-12-27T21:48:57.525862823+08:00" level=info msg="API listen on [::]:2375"
Dec 27 21:48:57 centos9 systemd[1]: Started Docker Application Container Engine.

如果你也遇到类似的问题,不妨试试。

 

成熟不是人的心变老,而是泪在眼眶里打转还能微笑。
0 不喜欢
说说我的看法 -
全部评论(
没有评论
关于
本网站专注于 Java、数据库(MySQL、Oracle)、Linux、软件架构及大数据等多领域技术知识分享。涵盖丰富的原创与精选技术文章,助力技术传播与交流。无论是技术新手渴望入门,还是资深开发者寻求进阶,这里都能为您提供深度见解与实用经验,让复杂编码变得轻松易懂,携手共赴技术提升新高度。如有侵权,请来信告知:hxstrive@outlook.com
其他应用
公众号