[英]problem building a docker container based on debian:buster
I'm trying to build a docker container based on debian:buster.我正在尝试基于 debian:buster 构建一个 docker 容器。 In the process I get the message:
在此过程中,我收到消息:
Need to get 1211 MB of archives.
After this operation, 3257 MB of additional disk space will be used.
Err:1 http://security.debian.org/debian-security buster/updates/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u5
404 Not Found [IP: 151.101.130.132 80]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u5 [225 kB]
...
Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openldap/libldap-common_2.4.47+dfsg-3+deb10u5_all.deb 404 Not Found [IP: 151.101.130.132 80]
There is a package有一个package
http://security.debian.org/debian-security/pool/updates/main/o/openldap/openldap_2.4.47+dfsg-3+deb10u6.dsc
available in the source package list.可在源 package 列表中找到。 How can I persuade docker/apt-get/whatever to use it?
我如何说服 docker/apt-get/whatever 使用它?
My dockerfile works fine with debian:stretch
.我的 dockerfile 与
debian:stretch
配合良好。
Apparently, you don't have Internet connectivity at least to security.debian.org over HTTP (port 80), as I can see your DNS is resolving to the correct IP (151.101.194.132). Apparently, you don't have Internet connectivity at least to security.debian.org over HTTP (port 80), as I can see your DNS is resolving to the correct IP (151.101.194.132). What I recommend is to test in your command line with a curl as bellow:
我建议使用 curl 在命令行中进行测试,如下所示:
curl -vvv http://security.debian.org/debian-security/pool/updates/main/o/openldap/openldap_2.4.47+dfsg-3+deb10u6.dsc
MT公吨
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.