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

Bug in 3.6.0? Win10: "docker builderx create" creates an inactive instance #754

Closed
ChrisKuBa opened this issue Aug 29, 2021 · 2 comments
Closed

Comments

@ChrisKuBa
Copy link

Hi,

after getting some problems with Docker Desktop for windows, I try to reinstall and restart Docker Desktop.

The main problem is, that the builder instance doesnt run anymore.

All works fine before the crash of Docker Desktop. Also with buildx.

Currently I build ever "arch" separately with the default build instance.

Hope someone can help me with the error
Error response from daemon: invalid mount config for type "volume": invalid mount path: 'C:/ProgramData/buildkitd/.buildstate' mount path must be absolute

Thx

Some more infos:

Docker Desktop: 3.6.0 (67351)
Latest windows updates.
WSL2 is active

wsl -l -v
  NAME                   STATE           VERSION
* docker-desktop         Running         2
  docker-desktop-data    Running         2

docker buildx create --use --name chriskuba

docker buildx ls
NAME/NODE       DRIVER/ENDPOINT                STATUS   PLATFORMS
chriskuba *     docker-container
  chriskuba0    npipe:////./pipe/docker_engine inactive
desktop-linux   docker
  desktop-linux desktop-linux                  running  linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
default         docker
  default       default                        running  linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6

docker buildx inspect --bootstrap
[+] Building 0.0s (1/1) FINISHED
 => ERROR [internal] booting buildkit                                                                                                                                                                     4.3s
 => => pulling image moby/buildkit:buildx-stable-1                                                                                                                                                        4.2s
 => => creating container buildx_buildkit_chriskuba0                                                                                                                                                      0.1s
------
 > [internal] booting buildkit:
------
Name:   chriskuba
Driver: docker-container

Nodes:
Name:     chriskuba0
Endpoint: npipe:////./pipe/docker_engine
Error:    Error response from daemon: invalid mount config for type "volume": invalid mount path: 'C:/ProgramData/buildkitd/.buildstate' mount path must be absolute
@ChrisKuBa
Copy link
Author

A simple downgrade to version 3.5.2 solved the issue. Using my own and existing build instance. without a problem.

@ChrisKuBa ChrisKuBa changed the title Win10: "docker builderx create" creates an inactive instance Bug in 3.6.0? Win10: "docker builderx create" creates an inactive instance Aug 29, 2021
@tonistiigi
Copy link
Member

This was fixed in #751

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants