当前位置:论坛首页 > Linux面板 > 求助

【已完成】Docker管理器安装成功了,但是打开出错。

发表在 Linux面板2021-12-29 17:35 [复制链接] 3 3291

Docker管理器安装成功了,但是打开出错。
Snipaste_2021-12-29_17-35-06.png
使用道具 举报 只看该作者 回复
发表于 2021-12-29 20:02:04 | 显示全部楼层
您好,贴一下执行日志,看看有无报错信息。
使用道具 举报 回复 支持 反对
发表于 2021-12-29 22:39:49 | 显示全部楼层
运维阿宏 发表于 2021-12-29 20:02
您好,贴一下执行日志,看看有无报错信息。

执行日志

执行日志.zip

1.6 KB, 下载次数: 62594

使用道具 举报 回复 支持 反对
发表于 2022-2-24 11:35:08 | 显示全部楼层
Repository extras is listed more than once in the configuration
Adding repo from: http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Repository extras is listed more than once in the configuration
Error: No matching repo to modify: docker-ce-edge.
Repository extras is listed more than once in the configuration
Docker CE Stable - x86_64 0.0 B/s | 0 B 00:03
Errors during downloading metadata for repository 'docker-ce-stable':
- Curl error (7): Couldn't connect to server for https://mirrors.aliyun.com/docke ... repodata/repomd.xml []
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Repository extras is listed more than once in the configuration
Error: No matching repo to modify: docker-ce-edge.
Failed to start docker.service: Unit docker.service not found.
move docker data to /www/server/docker ...
Failed to stop docker.service: Unit docker.service not loaded.
mv: cannot stat '/var/lib/docker': No such file or directory
Created symlink /etc/systemd/system/getty@tty1.service → /dev/null.
Failed to enable unit: Unit file docker.service does not exist.
Failed to start docker.service: Unit docker.service not found.


您好,上面是安装失败的原因,使用阿里云centos8 的安装源(当时centos官方还未移除安装源到vault.centos.org)安装docker的时候报错,您可以使用下面命令修改下安装源

  1. sed -e 's|^mirrorlist=|#mirrorlist=|g' \
  2.          -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|' \
  3.          -i.bak \
  4.          /etc/yum.repos.d/CentOS-*.repo
复制代码


然后升级到centos8 stream版本后再安装docker


Centos 8官方已于2021年12月31日以后停止Centos 8支持、转至Centos 8 Stream项目支持
详细说明:


https://www.bt.cn/bbs/thread-82931-1-1.html




因此Centos 8已经无法正常安装宝塔面板、请更换至Centos 7或Centos 8 Stream系统安装宝塔
*Centos 7 官方支持至2024年7月30日
*Centos 8 Stream 官方支持至2024年5月31日
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表