【待反馈】在面板安装docker后,检测不到已安装
通过面板安装docker,安装完毕后,面板检测不到已经安装,仍然有提示如下图,已重启过面板,无效系统环境:
宝塔Beta 7.9.95
linuxCentOS Linux 7 (Core) x86_64(Py3.7.9) 浏览器 Microsoft Edge 版本 112.0.1722.48 (正式版本) (64 位)
提示当前未安装docker或docker-compose,点击安装
消息列表显示 Install Docker service【已完成】耗时23秒
当前帖子不能粘贴图片,粘贴一个小的图片,显示内容超出限制,不然可以截图看下
AttributeError: 'NoneType' object has no attribute 'containers'
REQUEST_DATE: 2023-04-21 21:55:25 PAN_VERSION: 7.9.95OS_VERSION: CentOS Linux 7 (Core) x86_64(Py3.7.9) REMOTE_ADDR: 183.192.128.254 REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bname%3Ddocker%26amp%3Bs%3DGetConListREQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.48Traceback (most recent call last):File "class/panelPlugin.py", line 3154, in a return p.exec_fun(get)File "class/pluginAuth.py", line 67, in exec_fun raise public.PanelError(res['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last):File "/www/server/panel/plugin/docker/docker_main.py", line 59, in GetConList for con in self.__docker.containers.list(all=True):AttributeError: 'NoneType' object has no attribute 'containers'
您好,您可以提供下执行日志,看下具体是什么原因导致无法正常安装的docker服务。
或者是您手动到服务器命令行安装docker服务看看
yum -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 谢花郎 发表于 2023-4-23 10:55
您好,您可以提供下执行日志,看下具体是什么原因导致无法正常安装的docker服务。
或者是您手动到服务器命 ...
使用命令行安装完,提示完成。回到到web控制台,还是提示没安装 Total 14 MB/s |88 MB 00:06
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: docker-compose-plugin-2.17.2-1.el8.x86_64 1/1
Upgrading : docker-compose-plugin-2.17.2-1.el8.x86_64 1/10
Running scriptlet: docker-compose-plugin-2.17.2-1.el8.x86_64 1/10
Upgrading : docker-buildx-plugin-0.10.4-1.el8.x86_64 2/10
Running scriptlet: docker-buildx-plugin-0.10.4-1.el8.x86_64 2/10
Upgrading : docker-ce-cli-1:23.0.4-1.el8.x86_64 3/10
Running scriptlet: docker-ce-cli-1:23.0.4-1.el8.x86_64 3/10
Upgrading : containerd.io-1.6.20-3.1.el8.x86_64 4/10
Running scriptlet: containerd.io-1.6.20-3.1.el8.x86_64 4/10
Upgrading : docker-ce-3:23.0.4-1.el8.x86_64 5/10
Running scriptlet: docker-ce-3:23.0.4-1.el8.x86_64 5/10
Running scriptlet: docker-ce-3:23.0.1-1.el8.x86_64 6/10
Cleanup : docker-ce-3:23.0.1-1.el8.x86_64 6/10
Running scriptlet: docker-ce-3:23.0.1-1.el8.x86_64 6/10
Cleanup : docker-ce-cli-1:23.0.1-1.el8.x86_64 7/10
Running scriptlet: docker-buildx-plugin-0.10.2-1.el8.x86_64 8/10
Cleanup : docker-buildx-plugin-0.10.2-1.el8.x86_64 8/10
Running scriptlet: docker-buildx-plugin-0.10.2-1.el8.x86_64 8/10
Running scriptlet: docker-compose-plugin-2.16.0-1.el8.x86_64 9/10
Cleanup : docker-compose-plugin-2.16.0-1.el8.x86_64 9/10
Running scriptlet: docker-compose-plugin-2.16.0-1.el8.x86_64 9/10
Running scriptlet: containerd.io-1.6.18-3.1.el8.x86_64 10/10
Cleanup : containerd.io-1.6.18-3.1.el8.x86_64 10/10
Running scriptlet: containerd.io-1.6.18-3.1.el8.x86_64 10/10
Verifying : containerd.io-1.6.20-3.1.el8.x86_64 1/10
Verifying : containerd.io-1.6.18-3.1.el8.x86_64 2/10
Verifying : docker-buildx-plugin-0.10.4-1.el8.x86_64 3/10
Verifying : docker-buildx-plugin-0.10.2-1.el8.x86_64 4/10
Verifying : docker-ce-3:23.0.4-1.el8.x86_64 5/10
Verifying : docker-ce-3:23.0.1-1.el8.x86_64 6/10
Verifying : docker-ce-cli-1:23.0.4-1.el8.x86_64 7/10
Verifying : docker-ce-cli-1:23.0.1-1.el8.x86_64 8/10
Verifying : docker-compose-plugin-2.17.2-1.el8.x86_64 9/10
Verifying : docker-compose-plugin-2.16.0-1.el8.x86_64 10/10
Upgraded:
containerd.io-1.6.20-3.1.el8.x86_64 docker-buildx-plugin-0.10.4-1.el8.x86_64 docker-ce-3:23.0.4-1.el8.x86_64
docker-ce-cli-1:23.0.4-1.el8.x86_64 docker-compose-plugin-2.17.2-1.el8.x86_64
Complete! 宝塔用_9a28 发表于 2023-4-24 13:42
Total 14 MB/s...
麻烦您执行下面命令看下,docker-composer命令是否存在
ll /usr/bin/docker-compose
如执行上面命令没有显示的话,则执行下面命令看看
ll /usr/libexec/docker/cli-plugins/docker-compose
页:
[1]