为了账号安全,请及时绑定邮箱和手机立即绑定

cento7创建失败

[root@localhost d1]# docker build -t  hello_dockerwb .Sending build context to Docker daemon 2.048 kBStep 1/3 : FROM alpine:latestTrying to pull repository docker.io/library/alpine ... latest: Pulling from docker.io/library/alpineno supported platform found in manifest list


正在回答

1 回答

你的这个镜像alpine:latest目前是从docker.io上拉取的,建议在运行指令前加上这么一行CDN加速镜像:

RUN  sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

cento7创建失败

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号