skip to Main Content

docker-compose build behind proxy. failed to solve: rpc error . dial tcp: lookup auth.docker.io. on rockylinux image

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Frockylinux%3Apull&service=registry.docker.io": dial tcp:…

VIEW QUESTION

nobody & nonroot user in distroless images – Docker

Distroless images comes with 3 users : > docker run --rm --entrypoint cat gcr.io/distroless/nodejs:debug /etc/passwd root:x:0:0:root:/root:/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/sbin/nologin nonroot:x:65532:65532:nonroot:/home/nonroot:/sbin/nologin If you run the image without a USER instruction in your Dockerfile the image runs as uid=0(root) gid=0(root). I would like to…

VIEW QUESTION
Back To Top
Search