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

【待反馈】docker无法运行

发表在 Linux面板2023-4-12 14:47 [复制链接] 5 2524

发表于 2023-4-12 15:12:20 | 显示全部楼层
您好,麻烦您到服务器命令行下执行下述命令看下服务器内是否存在docker服务
  1. rpm -qa | grep docker
复制代码


如执行上述查看命令返回有docker信息,则麻烦您手动执行启动docker命令看看是否正常
  1. systemctl start docker
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-4-14 09:25:24 | 显示全部楼层
谢花郎 发表于 2023-4-12 15:12
您好,麻烦您到服务器命令行下执行下述命令看下服务器内是否存在docker服务

docker-ce-cli-23.0.3-1.el7.x86_64
docker-compose-plugin-2.17.2-1.el7.x86_64
docker-buildx-plugin-0.10.4-1.el7.x86_64
docker-ce-rootless-extras-23.0.3-1.el7.x86_64
docker-ce-23.0.3-1.el7.x86_64
使用道具 举报 回复 支持 反对
发表于 2023-4-14 09:33:58 | 显示全部楼层
谢花郎 发表于 2023-4-12 15:12
您好,麻烦您到服务器命令行下执行下述命令看下服务器内是否存在docker服务

Operation not permitted  这是手动执行开启docker
使用道具 举报 回复 支持 反对
发表于 2023-4-14 09:41:59 | 显示全部楼层
出错了,[Docker管理器]运行时发生错误!
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
REQUEST_DATE: 2023-04-14 09:40:44
PAN_VERSION: 7.9.9
  OS_VERSION: CentOS  7.8.2003 x86_64(Py3.7.8)
REMOTE_ADDR: 192.168.31.186
REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bname%3Ddocker%26amp%3Bs%3DGetConList
REQUEST_FORM: {}
  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Traceback (most recent call last):
  File "class/panelPlugin.py", line 3121, 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 677, in urlopen
    chunked=chunked,
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 392, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1262, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1308, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1257, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1028, in _send_output
    self.send(msg)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 968, in send
    self.connect()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/transport/unixconn.py", line 43, in connect
    sock.connect(self.unix_socket)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socket3.py", line 428, in connect
    raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory

During 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 449, in send
    timeout=timeout
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, 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 403, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 392, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1262, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1308, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1257, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1028, in _send_output
    self.send(msg)
  File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 968, in send
    self.connect()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/transport/unixconn.py", line 43, in connect
    sock.connect(self.unix_socket)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socket3.py", line 428, in connect
    raise error(result, strerror(result))
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/plugin/docker/docker_main.py", line 59, 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 937, in list
    since=since)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/container.py", line 211, in containers
    res = self._result(self._get(u, params=params), 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 230, 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 543, in get
    return self.request('GET', url, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
使用道具 举报 回复 支持 反对
发表于 2023-4-14 10:04:00 | 显示全部楼层
宝塔用户_zchkon 发表于 2023-4-14 09:33
Operation not permitted  这是手动执行开启docker

执行的命令,完整错误麻烦您提供下。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

立即付费处理

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

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