buildx
buildx copied to clipboard
docker build error -> 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:
Hi everyone, Just to check if you have encountered the below error and was the recommended fixed. Appreciate if someone can provide any inputs.
Docker version below: Docker version 20.10.8, build 3967b7d
I'm running ubuntu 20.4 LST in WSL2
@rdorpia Might be linked to https://github.com/moby/buildkit/issues/2313#issuecomment-902353224 (cc @thaJeztah)
Assuming you don't see it all the time it looks like a temp network error on getting DNS. I don't think this error comes directly from credential helper but might be wrong.
This is a firewall issue. You need to set your firewall to allow sharing the connection. https://github.com/MicrosoftDocs/WSL/issues/481
Any one please help me out with this
I've almost same issue
My environment is MacOS 12.3.1 with Docker Desktop 4.8.2
I've almost same issue
My environment is MacOS 12.3.1 with Docker Desktop 4.8.2
This issue was solved with using docker-compose
command instead of docker compose
...
Very strange issue. Yesterday all works fine with docker compose
too.
Just so everyone knows Apple's Screen Time Content Blocker and Docker do not play well. Build errors are common when Screen Time is enabled
I've almost same issue
My environment is MacOS 12.3.1 with Docker Desktop 4.8.2
This issue was solved with using
docker-compose
command instead ofdocker compose
... Very strange issue. Yesterday all works fine withdocker compose
too.
It's still giving me the same error. Any other solution?
Same here on windows 10
docker buildx build --platform linux/amd64 --progress plain --build-arg RK_ZIP=rk.zip -t rk
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 32B done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
#3 resolve image config for docker.io/docker/dockerfile:1.3
#3 DONE 0.4s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 CACHED
#5 [internal] load .dockerignore
#5 DONE 0.0s
#6 [internal] load build definition from Dockerfile
#6 DONE 0.0s
ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = no build stage in current context