为了能快速了解并处理您的问题,请提供以下基础信息:
系统:Ubuntu 24.04.1 Linux正式版11.4.0
在docker菜单中选择容器,无法列出所有容器
IndexError: list index out of range
REQUEST_DATE: 2025-12-30 22:09:20 VERSION: 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_run File "/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'][0].replace("/", "")),IndexError: list index out of range
|
|