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

【待反馈】7.9.10版本安装docker报错

发表在 Linux面板2023-6-1 14:53 [复制链接] 3 933

本帖最后由 堡塔运维香菜卷 于 2023-6-1 16:17 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

7.9.10
系统版本:

Alibaba Cloud  (Aliyun ) 2.1903
问题描述:

安装docker运行报错
相关截图(日志、错误):

如题

如题
使用道具 举报 只看该作者 回复
发表于 2023-6-1 16:17:21 | 显示全部楼层
您好,麻烦您到服务器命令行下,执行下面命令安装下docker组件,然后重新打开docker界面看下是否还会提示错误。
如还是提示错误,则提供下docker当前状态所提示内容。
安装组件:
  1. apt update -y

  2. apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
复制代码

使用道具 举报 回复 支持 反对
发表于 2023-6-3 11:12:42 | 显示全部楼层
输入代码提示这个什么意思
-bash: apt: command not found
使用道具 举报 回复 支持 反对
发表于 2023-7-5 17:48:21 | 显示全部楼层
PAN_VERSION: 8.0.0
  OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.7.16) PAN_VERSION: 8.0.0
  OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.7.16)
执行上述代码安装提示如下
  1. root@BaoTa:~# apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. Reading state information... Done
  5. Package docker-ce is not available, but is referred to by another package.
  6. This may mean that the package is missing, has been obsoleted, or
  7. is only available from another source

  8. Package docker-ce-cli is not available, but is referred to by another package.
  9. This may mean that the package is missing, has been obsoleted, or
  10. is only available from another source

  11. E: Package 'docker-ce' has no installation candidate
  12. E: Package 'docker-ce-cli' has no installation candidate
  13. E: Unable to locate package containerd.io
  14. E: Couldn't find any package by glob 'containerd.io'
  15. E: Unable to locate package docker-buildx-plugin
  16. E: Unable to locate package docker-compose-plugin
  17. root@BaoTa:~#
复制代码




Docker 错误日志:
  1. Traceback (most recent call last):
  2.   File "pluginAuth.py", line 449, in pluginAuth.Plugin.exec_fun
  3.   File "/www/server/panel/plugin/docker/docker_main.py", line 59, in GetConList
  4.     for con in self.__docker.containers.list(all=True):
  5. AttributeError: 'NoneType' object has no attribute 'containers'
复制代码

使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表