You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
Buildx does not prevent you from creating a new builder with a broken buildkitd config, but then it does not allow you to remove the builder if you did create it.
Expected behaviour
I should not be able to create a broken builder.
Actual behaviour
$ cat cfg.toml [worker.oci] gc = "maybe"
$ docker buildx create --name=bad_builder --buildkitd-config cfg.toml ERROR: failed to parse config: (5, 5): Can't convert maybe(string) to bool
$ docker buildx lsNAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMSdefault docker \_ default \_ default running v0.17.3 linux/amd64 (+2), linux/arm64, linux/arm (+2), linux/ppc64le, (3 more)desktop-linux* docker \_ desktop-linux \_ desktop-linux running v0.17.3 linux/amd64 (+2), linux/arm64, linux/arm (+2), linux/ppc64le, (3 more)bad_builder docker-container error Cannot load builder bad_builder: failed to parse config: (5, 5): Can't convert maybe(string) to bool
$ docker buildx rm bad_builderfailed to remove bad_builder: failed to parse config: (5, 5): Can't convert maybe(string) to boolERROR: failed to remove one or more builders
Contributing guidelines
I've found a bug and checked that ...
Description
Buildx does not prevent you from creating a new builder with a broken buildkitd config, but then it does not allow you to remove the builder if you did create it.
Expected behaviour
I should not be able to create a broken builder.
Actual behaviour
Buildx version
github.com/docker/buildx 3e3242c 3e3242c
Docker info
Builders list
Configuration
Build logs
Additional info
No response
The text was updated successfully, but these errors were encountered: