WeeklyReport
WeeklyReport copied to clipboard
求助!执行docker build时出现的错误!
Step 4/16 : RUN ln -s -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && curl -fsSL https://setup.ius.io/ | sh && yum update -y && yum install -y python36u python36u-devel python36u-pip && mkdir ~/.pip && echo -e "[global]\nindex-url=http://pypi.douban.com/simple/\ntrusted-host=pypi.douban.com">~/.pip/pip.conf && yum clean all ---> Running in a2f104bc8de5
curl: (6) Could not resolve host: setup.ius.io; Unknown error Loaded plugins: fastestmirror, ovl Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
你的dns有问题吧?我这解析这两个域名没问题呢
我也怀疑是dns的问题。但我用的是腾讯云,ping域名和wget都可以啊。