gliderlabs/docker-alpine

Package Manager Broken (apk update: temporary error)

iCollin opened this issue · 1 comments

this docker image cannot use the package manager. I am not sure if it is an issue with the sources host or the container. I hope this information is helpful.

Reproduce

$ sudo docker run -it --rm alpine:latest
# apk update

Logs

$ sudo docker run -it --rm alpine:latest
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
63b65145d645: Pull complete 
Digest: sha256:69665d02cb32192e52e07644d76bc6f25abeb5410edc1c7a81a10ba3f0efb90a
Status: Downloaded newer image for alpine:latest
/ # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
2 errors; 15 distinct packages available

Potential Fix

https://dl-cdn.alpinelinux.org/alpine/v3.17/main
should be
https://dl-cdn.alpinelinux.org/alpine/v3.17/main/

Hi, i'm running into the same error... how did you resolve this?