Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error. failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0 #125

Closed
RWoxiN opened this issue Oct 11, 2022 · 10 comments
Labels
awaiting-response Waiting for the issuer to respond bug Something isn't working

Comments

@RWoxiN
Copy link

RWoxiN commented Oct 11, 2022

Describe the bug
image

Hardware / Software:

  • OS: WSL
  • Docker Version, Docker compose version
    image
    image
  • Release version: latest
@RWoxiN RWoxiN added the bug Something isn't working label Oct 11, 2022
@AbdBarho
Copy link
Owner

Can you open the docker ui and go into settings, is the Use Docker Compose V2 checked? it should be checked

@AbdBarho
Copy link
Owner

Oh, it seems you are running docker from within wsl, can you try running it from windows powershell?

@RWoxiN
Copy link
Author

RWoxiN commented Oct 12, 2022

Oh, it seems you are running docker from within wsl, can you try running it from windows powershell?

The same happened in powershell environment.

Can you open the docker ui and go into settings, is the Use Docker Compose V2 checked? it should be checked

Already checked.

@AbdBarho
Copy link
Owner

my best guess is that docker buildkit is not correctly enabled.

maybe try this? https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds

What is your Windows version? and WSL version?

@RWoxiN
Copy link
Author

RWoxiN commented Oct 12, 2022

my best guess is that docker buildkit is not correctly enabled.
maybe try this? https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds

BuildKit builds has enabled before.
image

What is your Windows version? and WSL version?

image
image

@AbdBarho AbdBarho added the awaiting-response Waiting for the issuer to respond label Oct 13, 2022
@AbdBarho
Copy link
Owner

AbdBarho commented Oct 13, 2022

I am sorry, I am out of ideas, the problem is that your docker version for whatever reason does not recognize the new syntax, even though you have all up-to-date versions.

@RWoxiN RWoxiN closed this as completed Oct 15, 2022
@azamtoiri
Copy link

azamtoiri commented Oct 16, 2022

how do you solve this?

@shadowwinds
Copy link

i got same error when registry-mirrors is specified
check this moby/moby#39120

@playlinuxcn
Copy link

update docker version is ok.

https://download.docker.com/linux/centos/docker-ce.repo

yum update docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

@BraINstinct0
Copy link

Had exactly same issue even with currently most recent environment (WSL2, Ubuntu 22.04+Docker), but simply rerunning worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response Waiting for the issuer to respond bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants