使用Debian10操作系统,安装时报错:File docker.service does not exist或Docker.service failed because the control procexx exited
2025/01/23
16
问题信息
问题来源 | 产品大类 | 产品子类 | 关键字 |
---|---|---|---|
官方 | 安装部署 | Ascend Deployer | Ascend Deployer、安装配置、Debian、安装 |
问题描述
使用MindCluster Ascend Deployer工具在Debian10操作系统上安装软件包,安装时报错:file docker.service does not exist或docker.service failed because the control procexx exited。
原因分析
docker安装时异常终止导致安装残留。
解决办法
- 执行which docker查看二进制目录。如下图,我们查询到的结果为/usr/bin/docker。
图1 查看二进制目录
- 根据查询到的二进制目录,执行以下命令
mv /usr/bin/docker /usr/bin/docker.bak #请将命令中的第一个/usr/bin/docker替换为步骤1中查询到的二进制目录
- 再次执行安装步骤。
本页内容