notaryproject / notary

Notary is a project that allows anyone to have trust over arbitrary collections of data
Apache License 2.0
3.23k stars 511 forks source link

Permission denied on fetch APKINDEX.gz #1452

Open deepthiseshabattar opened 5 years ago

deepthiseshabattar commented 5 years ago

I am getting the following error while running docker-compose up -d

Step 6/17 : RUN apk add --update git gcc libc-dev ---> Running in 6912ab16b217 fetch http://nl.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz ERROR: http://nl.alpinelinux.org/alpine/v3.5/main: Permission denied WARNING: Ignoring APKINDEX.39282fe4.tar.gz: No such file or directory fetch http://nl.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz ERROR: http://nl.alpinelinux.org/alpine/v3.5/community: Permission denied WARNING: Ignoring APKINDEX.9a1b2e7c.tar.gz: No such file or directory ERROR: unsatisfiable constraints: gcc (missing): required by: world[gcc] git (missing): required by: world[git] libc-dev (missing): required by: world[libc-dev]

Kindly help, all proxy settings are done, Is there any way I can pass proxy to the apk command?

dubo-dubon-duponey commented 5 years ago

@deepthiseshabattar you might want to ask your question on the Docker community slack or forum instead of here. Your problem has no relation with Notary, and is most definitely a Docker/proxy configuration/issue.