当前位置:论坛首页 > Linux面板 > 求助

docker出问题

发表在 Linux面板2024-9-5 11:34 [复制链接] 1 336

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:
9.1.0
系统版本:
centos6.7 u3
问题描述:
容器查看详情会卡住,修复面板出错误提示
相关截图(日志、错误):
REQUEST_DATE: 2024-09-05 11:31:46 PAN_VERSION: 9.1.0  OS_VERSION: CentOS  7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 192.168.10.100 REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Ddocker%26s%3DGetConListREQUEST_FORM: {}  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36Traceback (most recent call last):  File "class/panelPlugin.py", line 3736, 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/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 449, in _make_request    six.raise_from(e, None)  File "", line 3, in raise_from  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 444, in _make_request    httplib_response = conn.getresponse()  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1369, in getresponse    response.begin()  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 310, in begin    version, status, reason = self._read_status()  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 271, in _read_status    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")  File "/www/server/panel/pyenv/lib/python3.7/socket.py", line 589, in readinto    return self._sock.recv_into(b)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 693, in recv_into    self._wait(self._read_event)  File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket  File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket  File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait  File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait  File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switchsocket.timeout: timed outDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 499, in send    timeout=timeout,  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 550, in increment    raise six.reraise(type(error), error, _stacktrace)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/packages/six.py", line 770, in reraise    raise value  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen    chunked=chunked,  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 451, in _make_request    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 341, in _raise_timeout    self, url, "Read timed out. (read timeout=%s)" % timeout_valueurllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/plugin/docker/docker_main.py", line 57, in GetConList    for con in self.__docker.containers.list(all=True):  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/models/containers.py", line 953, in list    containers.append(self.get(r['Id']))  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/models/containers.py", line 889, in get    resp = self.client.api.inspect_container(container_id)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped    return f(self, resource_id, *args, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/container.py", line 774, in inspect_container    self._get(self._url("/containers/{0}/json", container)), True  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner    return f(self, *args, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 237, in _get    return self.get(url, **self._set_request_timeout(kwargs))  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 600, in get    return self.request("GET", url, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request    resp = self.send(prep, **send_kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send    r = adapter.send(request, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 578, in send    raise ReadTimeout(e, request=request)requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
使用道具 举报 只看该作者 回复
发表于 2024-9-5 12:06:31 | 显示全部楼层
docker管理器插件已经不维护了,建议使用这里的docker
screenshot-1725509140987.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表