I got a problem while creating a docker image using docker build -t image_name .. When I execute it I get errors:
docker build -t image_name .
=> [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => ERROR [internal] load metadata for docker.io/library/java:8 0.2s ------ > [internal] load metadata for docker.io/library/java:8: ------ 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%2Fjava%3Apull&service=registry.docker.io: net/http: TLS handshake timeout
1.4m articles
1.4m replys
5 comments
57.0k users