使用Debian 10操作系统,安装时报错:file docker.service does not exist或docker.service failed because the control process exited
问题描述
使用MindCluster Ascend Deployer工具在Debian 10操作系统上安装软件包,安装时报错:file docker.service does not exist或docker.service failed because the control process exited。
原因分析
docker安装时异常终止导致安装残留。
解决办法
- 执行which docker查看二进制目录。如下图,我们查询到的结果为/usr/bin/docker。图1 查看二进制目录
- 根据查询到的二进制目录,执行以下命令
mv /usr/bin/docker /usr/bin/docker.bak #请将命令中的第一个/usr/bin/docker替换为步骤1中查询到的二进制目录
- 再次执行安装步骤。
父主题: 安装类