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
Starting buildx version 0.13.0, the behavior of the "docker buildx create" command has changed.
The creation of a new builder fails when there is an existing builder already. In my case,
I'm creating a context called "builder," so all the builds will run in a remote docker host like this:
Then, I need to create the builder (or modify the one made with the context creation) so it will use the docker-container driver to create OCI images.
docker buildx create --name builder --use builder
On version 0.12.1 of the buildx extension, I got a warning that the builder is exist
WARNING: instance name "builder" already exists as context builder
On version 0.13.0, I got this error instead:
ERROR: instance name "builder" already exists as context builder
Expected behaviour
Throw a warning message, and continue with the OCI image build:
WARNING: instance name "builder" already exists as context builder
Actual behaviour
It's throwing an error message and exiting with exit code 1
ERROR: instance name "builder" already exists as context builder
Contributing guidelines
I've found a bug and checked that ...
Description
Starting buildx version 0.13.0, the behavior of the "docker buildx create" command has changed.
The creation of a new builder fails when there is an existing builder already. In my case,
I'm creating a context called "builder," so all the builds will run in a remote docker host like this:
docker context create builder --docker "host=tcp://xx.xx.xx.xx:2367"
Then, I need to create the builder (or modify the one made with the context creation) so it will use the docker-container driver to create OCI images.
docker buildx create --name builder --use builder
On version 0.12.1 of the buildx extension, I got a warning that the builder is exist
WARNING: instance name "builder" already exists as context builder
On version 0.13.0, I got this error instead:
ERROR: instance name "builder" already exists as context builder
Expected behaviour
Throw a warning message, and continue with the OCI image build:
WARNING: instance name "builder" already exists as context builder
Actual behaviour
It's throwing an error message and exiting with exit code 1
ERROR: instance name "builder" already exists as context builder
Buildx version
0.13.0
Docker info
No response
Builders list
Configuration
Build logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: