CentOS 7.8.2003 x86_64(Py3.7.9) + 宝塔 7.9.8正式版
测试发现,Docker实际是正常运行着的,但就是访问宝塔的docker界面报错,也不知道为啥。
出错了,面板运行时发生错误!TypeError: argument of type 'NoneType' is not iterable
REQUEST_DATE: 2023-03-27 20:34:26 PAN_VERSION: 7.9.8 OS_VERSION: CentOS 7.8.2003 x86_64(Py3.7.9) REMOTE_ADDR: 129.153.199.167 REQUEST_URI: POST /project/docker/model?REQUEST_FORM: {'data': '{"url":"unix:///var/run/docker.sock","dk_model_name":"container","dk_def_name":"get_list"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1850, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1797, in run result = getattr(toObject,get.action)(get) File "/www/server/panel/class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/projectModel/dockerModel.py", line 87, in model result = run_object(args) File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 436, in get_list "merged": self.get_container_path(attr), File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 360, in get_container_path if "MergedDir" not in detail["GraphDriver"]["Data"]:TypeError: argument of type 'NoneType' is not iterable
|
|