Open ioswater opened 1 month ago
failed to solve: process "/bin/sh -c echo @3.16 https://mirrors.aliyun.com/alpine/v3.16/community > /etc/apk/repositories && echo @3.16 https://mirrors.aliyun.com/alpine/v3.16/main >> /etc/apk/repositories && echo @edge https://mirrors.aliyun.com/alpine/edge/testing >> /etc/apk/repositories && apk update && apk add --no-cache ffmpeg@3.16 tzdata@3.16 chromium@3.16 && apk add --no-cache --allow-untrusted harfbuzz@3.16 nss@3.16 freetype@3.16 ttf-freefont@3.16 wqy-zenhei@edge && cp -r -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && rm -rf /var/cache/apk/*" did not complete successfully: exit code: 1
docker运行指令包错,没有详细信息,这种怎么解决呀?
重启docker试试
还有其他方法么?重启试了,不行。
因为没有详细的报错,就只有上面的那个提示。我这边几台电脑都是一样的报错。是因为m1芯片吗?
M1 芯片的我没测试过,回头找一台试一下。
好的,麻烦有消息了回一下解决方案。给作者点赞!!!
这个好像跟芯片无关,貌似是国内下架了 docker hub 镜像源
failed to solve: process "/bin/sh -c echo @3.16 https://mirrors.aliyun.com/alpine/v3.16/community > /etc/apk/repositories && echo @3.16 https://mirrors.aliyun.com/alpine/v3.16/main >> /etc/apk/repositories && echo @edge https://mirrors.aliyun.com/alpine/edge/testing >> /etc/apk/repositories && apk update && apk add --no-cache ffmpeg@3.16 tzdata@3.16 chromium@3.16 && apk add --no-cache --allow-untrusted harfbuzz@3.16 nss@3.16 freetype@3.16 ttf-freefont@3.16 wqy-zenhei@edge && cp -r -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && rm -rf /var/cache/apk/*" did not complete successfully: exit code: 1
docker运行指令包错,没有详细信息,这种怎么解决呀?