Docker WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try agai

2022/7/29 5:22:44

本文主要是介绍Docker WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try agai,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

Step 2/6 : RUN apk add --no-cache python2 g++ make
 ---> [Warning] IPv4 forwarding is disabled. Networking will not work.
 ---> Running in 00076a48df5f
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: temporary error (try again later)
ERROR: unable to select packages:
  g++ (no such package):
    required by: world[g++]
  make (no such package):
    required by: world[make]
  python2 (no such package):
    required by: world[python2]

 

重启Docker Daemon守护进程:systemctl daemon-reload

重启Docker Cli服务:systemctl restart docker.service



这篇关于Docker WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try agai的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程