- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我正在运行我构建的 docker 二进制文件(遵循 this ),当我执行 docker pull
时,我收到此错误。
Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: tls: oversized record received with length 20527
我已经按照提到的方式设置了代理 here ,并且 pull
在默认守护进程和相同的代理设置下工作正常。将 DNS 更改为 8.8.8.8 似乎没有帮助。
ping registry-1.docker.io
导致 100% 数据包丢失。
docker info
给出了这个
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: dev
Storage Driver: vfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa (expected: fec3683)
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.13.0-43-generic
Operating System: Ubuntu 16.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.853GiB
Name: bhavana-docker
ID: UKZT:U4LR:PBOV:GLXP:XXUP:MZ74:WXWL:3RT7:MOG5:YGMC:HAFI:7PYM
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
HTTP Proxy: <suppressed>
HTTPS Proxy: <suppressed>
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
registry-1.docker.io
127.0.0.0/8
Live Restore Enabled: false
此错误的修复方法是什么?
最佳答案
您的 Docker 版本是多少?
使用 Docker 版本 17.09.0-ce,构建 afdb6d4,它对我有用,但是在 yum update
获取 Docker 版本 18.06.0-ce,构建 0ffa825 之后,我遇到了同样的问题.
你能检查一下你的/etc/systemd/system/docker.service.d/https-proxy.conf 吗?我想你已经这样配置了:
HTTPS_PROXY=https://user:pwd@proxy:port
但是现在,尝试使用 http 协议(protocol)而不是 https 协议(protocol)来配置 HTTPS_PROXY:
HTTPS_PROXY=http://user:pwd@proxy:port
关于Ubuntu,Docker - proxyconnect tcp : tls: oversized record received with length 20527,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50717390/
是否有建议的方法来创建页面比 UISrollView 边界更宽的分页 UIScrollView? 我需要这样的东西。 在 page2 和分页模式下正常滚动,页面边缘有“橡皮筋”效果。 分页效果对我来说
负的和过大的位移位是未定义的行为。但是我需要在我的代码的许多地方进行正/负转换,所以我为此编写了一个通用函数: uint64_t shift_bit(uint64_t b, int i) {
我最近在 heroku 上部署了我的应用程序,我收到一个 502 错误,描述为:HTTP 限制:cookie 过大 在 Heroku 上找到: Oversized cookies The cookie
我像这样使用内置的标准 SSL 套接字客户端库(net + crypto/tls): conn, err := net.Dial("tcp", "exploit.im:5222") //... con
当我尝试在私有(private)注册表中推送和签名图像时收到此错误。重现步骤: 部署注册表: $ docker run -d -p 5000:5000 --restart=always --name
我的 bin 文件大小只有 18kb。我也得到了使用 IPFS 的解决方案,但不知道如何使用它。如果有任何使用 IPFS 的引用,请与我分享。 : 错误:PrecheckStatusError:事务
我的 bin 文件大小只有 18kb。我也得到了使用 IPFS 的解决方案,但不知道如何使用它。如果有任何使用 IPFS 的引用,请与我分享。 : 错误:PrecheckStatusError:事务
我用谷歌搜索并阅读了许多网站,包括 stackoverflow 上的大部分相关文章,但我不知道如何解决这个错误: “从守护进程接收到的响应 header 被截断或超大” 此服务器出现故障: Apach
我的应用程序正在使用 mod_wsgi、Flask 和 Python 2.7 的 Apache 2 服务器运行。奇怪的是,当页面刷新时,应用程序崩溃了。对我来说,这恰好发生在每次刷新时。你可以看到he
我正在运行我构建的 docker 二进制文件(遵循 this ),当我执行 docker pull 时,我收到此错误。 Error response from daemon: Get https://
复制 Win10 上安装的最新 Docker Edge (18.03.0-ce-rc1-win54 (16164))。 在更新到最新的 Docker CE Edge 版本之前切换到“Linux 容器”
我是一名优秀的程序员,十分优秀!