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

image and standalone target #12

Open
tonistiigi opened this issue Mar 26, 2019 · 2 comments
Open

image and standalone target #12

tonistiigi opened this issue Mar 26, 2019 · 2 comments
Labels
kind/enhancement New feature or request

Comments

@tonistiigi
Copy link
Member

This binary should be usable without being invoked by docker as well. The image target should be runnable with docker run.

Eg.
docker run docker/buildx build -o type=oci,dest=- git://... > oci.tgz

For auth/local sources mounts would need to be used.

Depends on adding a new driver.

@AkihiroSuda
Copy link
Collaborator

how it will talk to BuildKit daemon? Is it expected to be running as another container in the same netns or --network? Or buildx spawns daemon in its own container?

@tonistiigi
Copy link
Member Author

buildx can have many drivers for spawning the daemon(see #10) . So in-container it can use the driver/config that spawns a daemon locally into the same container or when user runs -v /var/run/docker.sock:/var/run/docker.sock it can spawn a new container with docker driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants