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

docker/setup-buildx-action fail if DOCKER_TLS_VERIFY is true #1

Open
Hazmi35 opened this issue Jul 31, 2022 · 0 comments
Open

docker/setup-buildx-action fail if DOCKER_TLS_VERIFY is true #1

Hazmi35 opened this issue Jul 31, 2022 · 0 comments

Comments

@Hazmi35
Copy link
Owner

Hazmi35 commented Jul 31, 2022

image

Also reproducible by entering the worker container: Running $ docker buildx create will result in 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 `docker buildx create <context-name>`

This is can somewhat be fixed with: docker/setup-buildx-action#16 (comment)

but, then another problem appears:
image

It is caused by buildx not using the DOCKER_TLS_VERIFY=1, I'll find a real solution, and reporting this problem to buildx team, until then, I would disable TLS.

TL/DR: docker/setup-buildx-action would fail if using DOCKER_TLS_VERIFY feature

Please do not expose port 2376 on DinD container, and please be aware about UFW+Docker problem

@Hazmi35 Hazmi35 pinned this issue Jul 31, 2022
Hazmi35 added a commit that referenced this issue Jul 31, 2022
Hazmi35 added a commit that referenced this issue Jul 31, 2022
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

1 participant