【已解答】在docker菜单中选择容器,无法列出所有
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统:Ubuntu 24.04.1 Linux正式版11.4.0
问题描述:
在docker菜单中选择容器,无法列出所有容器
相关截图(日志、错误):
IndexError: list index out of range
REQUEST_DATE: 2025-12-30 22:09:20VERSION: Ubuntu 24.04.1 LTS (Noble Numbat) x86_64(Py3.7.16) - 11.4.0 REMOTE_ADDR: 43.175.17.185 REQUEST_URI: POST /btdocker/container/get_list?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2559, in publicObject res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2506, in run result = getattr(toObject, get.action)(get)File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata)File "PluginLoader.py", line 401, in PluginLoader.module_runFile "/www/server/panel/class/btdockerModel/containerModel.py", line 1249, in get_list struct_container = self.struct_container_list(sk_c, container_to_top)File "/www/server/panel/class/btdockerModel/containerModel.py", line 1154, in struct_container_list "name": dp.rename(container['Names'].replace("/", "")),IndexError: list index out of range
尝试修复无效,重启服务器无效
您好,如果您机器没有容器,可以重新安装docker,并修复下面板
页:
[1]