为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:我部署了一个项目后,打开docker位置的容器后提示这个错误 相关截图(日志、错误):REQUEST_DATE: 2026-05-28 14:28:48 VERSION: Ubuntu 24.04.2 LTS (Noble Numbat) x86_64(Py3.7.16) - 9.0.0 REMOTE_ADDR: 111.55.112.144 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/148.0.0.0 Safari/537.36 Edg/148.0.0.0
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2448, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2395, 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 "/www/server/panel/class/btdockerModel/containerModel.py", line 1193, in get_list struct_container = self.struct_container_list(sk_c, container_to_top) File "/www/server/panel/class/btdockerModel/containerModel.py", line 1111, in struct_container_list "ports": self.struct_container_ports(container["Ports"]), File "/www/server/panel/class/btdockerModel/containerModel.py", line 1088, in struct_container_ports }] if "IP" in port else NoneKeyError: 'PublicPort'
|
|