Step 7/14 : RUN apk add --no-cache --no-progress mysql-client
---> Running in 30650d12c0c2
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
[91mWARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz: network connection aborted
[0mfetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
[91mWARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz: network connection aborted
[0m[91mERROR: unsatisfiable constraints:
[0m mysql-client (missing):
required by: world[mysql-client]
Removing intermediate container 30650d12c0c2
The command '/bin/sh -c apk add --no-cache --no-progress mysql-client' returned a non-zero code: 1
WARNING: Ignoring http://ftp.icm.edu.pl/pub/Linux/distributions/alpine/v3.9/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
WARNING: Ignoring http://ftp.icm.edu.pl/pub/Linux/distributions/alpine/v3.9/community/x86_64/APKINDEX.tar.gz: temporary error (try again later)
i test mirror`s all crashed
same error
In my case the problem was solved by restarting the network manager of my operating system (Debian) -.-
yes, problem network, mirrors ok
I find a solution in my specific case. The docker container use google DNS which are not available into my network. I have to use specific DNS so change /etc/docker/daemon.json.
{
"dns": ["xxx.yyy.zzz.001", "xxx.yyy.zzz.002"]
}
As far i'm concerned, I even tried this one https://github.com/gliderlabs/docker-alpine/issues/207 and it did'nt work till I even restart my pc.
Finally, I changed the network (wifi from library) i was logged to my personal smartphone and it fixed it
for me,I solved this problem by replacing the image source. references Alpine Linux 源使用帮助
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
Most helpful comment
for me,I solved this problem by replacing the image source. references Alpine Linux 源使用帮助