The Wayback Machine - https://web.archive.org/web/20220531202740/https://github.com/docker/buildx/issues/23
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

add "env" driver that connects to $BUILDKIT_HOST #23

Closed
AkihiroSuda opened this issue Apr 16, 2019 · 7 comments · Fixed by #1078
Closed

add "env" driver that connects to $BUILDKIT_HOST #23

AkihiroSuda opened this issue Apr 16, 2019 · 7 comments · Fixed by #1078
Labels
enhancement

Comments

@AkihiroSuda
Copy link
Collaborator

@AkihiroSuda AkihiroSuda commented Apr 16, 2019

This driver allows creating a buildx instance directly pointing to the existing buildkit endpoint.

docker buildx create --driver=env unix:///var/lib/buildkitd.sock
docker buildx create --driver=env uses BUILDKIT_HOST env value with UNIX sock default.

I guess TLS info is just passed with a custom driver-opt:

docker buildx create --driver=env --driver-opt ca=mycafile.pem https://foobar

rm/stop commands are no-op in this driver.

A better name could be "remote".

@AkihiroSuda AkihiroSuda added the enhancement label Apr 16, 2019
@tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Apr 16, 2019

It's possible this could be combined with #21 as #21 doesn't really have an endpoint.

@tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Apr 16, 2019

Otoh, combining may add complexity as #21 is linux only and may require credentials while this could work from anywhere. It would be easier to do this split by using different drivers.

@pchico83
Copy link

@pchico83 pchico83 commented Sep 13, 2020

+1 This would be awesome!

@Shaked
Copy link

@Shaked Shaked commented Jun 23, 2021

Any updates regarding this issue? Is it there another way to run buildx with a remote buildkitd?

@developer-guy
Copy link
Contributor

@developer-guy developer-guy commented Jan 8, 2022

Hello folks, kindly ping 🙋🏻‍♂️✌️ Are there any updates? We (w/@Dentrax) thought that, if it happens, we can be able to use the buildkitd running in lima-vm for this. So, we are so excited about this.

@tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Jan 9, 2022

Nobody is working on it afaik. It should quite easy to add it If somebody wants to take it on. Most of the work would probably be to make sure that CI would test this driver.

@remidebette
Copy link

@remidebette remidebette commented May 3, 2022

@jedevc thanks for the feature, what do you think about: docker/for-mac#6149 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement
6 participants