[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem
Description
ERROR when calling docker buildx create using the default, docker context with a TLS protected docker socket.
Expected behaviour
docker buildx create to succeed with a non TLS default docker context
docker buildx create to succeed with a TLS default docker context
Actual behaviour
docker buildx create with a non TLS docker context creates a new buildx builder
docker buildx create with a TLS default docker context emits the following error:
ERROR: could not create a builder instance with TLS data loaded from environment. Please use `docker context create <context-name>` to create a context for current environment and then create a builder instance with context set to <context-name>
# verify the cli can use docker using the tls connection
docker compose run cli info
# Try run docker buildx create
docker compose run cli buildx create --use
# verify docker is no-tls
docker compose run cli info
# See that docker buildx create succeeds with the default context
docker compose run cli buildx create --use
Build logs
ERROR: could not create a builder instance with TLS data loaded from environment. Please use `docker context create <context-name>` to create a context for current environment and then create a builder instance with context set to <context-name>
Contributing guidelines
I've found a bug and checked that ...
Description
ERROR when calling
docker buildx create
using the default, docker context with a TLS protected docker socket.Expected behaviour
Actual behaviour
Buildx version
github.com/docker/buildx v0.14.1 59582a88fca7858dbe1886fd1556b2a0d79e43a3
Docker info
Builders list
Configuration
compose.yaml
compose.yaml
Build logs
Additional info
No response