一直运转良好的Docker自动发布突然出现了如下异常,导致无法准确构建image。
Step 3 : RUN apt-get update
...
Step 8 : RUN apt-get install -y openssh-client
---> Using cache
The following NEW packages will be installed:
krb5-locales libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1
libkrb5-3 libkrb5support0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6
libxext6 libxmuu1 openssh-client xauth
...
Err:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openssh-client amd64 1:7.2p2-4ubuntu2.4
404 Not Found [IP: 91.189.88.162 80]
...
Err:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openssh-client amd64 1:7.2p2-4ubuntu2.4
404 Not Found [IP: 91.189.88.162 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-client_7.2p2-4ubuntu2.4_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
访问软件包发布磁盘http://security.ubuntu.com/ubuntu/poo