1Panel版本:v1.10.11-lts
安装时报以下错误:
stderr: openresty Pulling openresty Error Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
docker镜像配置:
https://docker.1panel.live
https://docker.mirrors.sjtug.sjtu.edu.cn
https://docker.nju.edu.cn
https://hub-mirror.c.163.com
原来安装过openresty 1.21.4.3-2-2,但是不能升到 1.21.4.3-3-3,卸载后再安装出现以上问题。
国内 Docker 服务状态 & 镜像加速监控
进去后找到"Docker 镜像加速"标签的网址,即是加速源。
使用方法1:1Panel左边菜单栏>容器>配置>镜像加速。
使用方法2:按格式编辑"/etc/docker/daemon.json"文件。
假如"Cloudflare"标签的无法正确加速,可以尝试"Nginx"标签的加速源。
1 个赞
依然无效。
Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
服务内部错误: stderr: Container 1Panel-openresty-61MK Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown