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
Is it possible to use buildx on docker desktop windows mode? #176
Comments
I got a little further like this.
but i still can't build a windows image using buildx.... am i missing somethere here? Also my observation is attempting to combine windows and linux on the same builder make things very unstable (this was my earlier issues with named pipes) |
BuildKit doesn't support windows. |
Should the commands be blocked when in windows container mode, maybe with meaningful error? Attempting to use can render docker desktop unusable and requiring uninstall and manual steps. |
I came up with solution to workaround this and achieve what i want.
|
Has the functionality improved already to more easily build an image for both windows and linux using buildx? Ideally I would like to include this with github actions. |
Windows containers require a special treatment due to buildx not being compatible, yet. Relates to docker/buildx#176 Relates to docker/build-push-action#18
Windows containers require a special treatment due to buildx not being compatible, yet. Relates to docker/buildx#176 Relates to docker/build-push-action#18
I have latest windows docker desktop edge and ithub.com/docker/buildx v0.3.1-tp-docker 6db68d0
When I try and use default buildx context i get told push is not supported - this happens in both linux and windows modes. Using the procedure documented here works for linux, but if i switch to windows containers and do the same procedure (with different builder context name) it utterly messes up and generates system named pipe errors on buildx ls, only an uninstall of docker desktop and manual removal of c:%username%.docker fixes it.
This leads to believe that buildx is not yet working with windows containers - is that correct or should i submit a more detailed bug?
The text was updated successfully, but these errors were encountered: