-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Support buildkit? #6440
Comments
Not at the moment. |
@shin- Why? |
Being tracked here; docker/docker-py#2230 |
Is there any workaround for passing E.g.
or:
I've tried and it doesn't work. My |
No, currently not possible through docker compose; the This protocol is not (yet) supported by |
Thank you for the clear explanation! Does this mean compose is essentially waiting for |
Likely the |
Any deadline to release this feature and make it GA ? I am switching back to |
See PR: #6865 |
@adriantorrie Does your PR cover everything that the build kit provides? Basically I'm trying to use I was guessing that something like this would work: export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
docker-compose build --ssh default my_image Am I doing something wrong? Or is this basically not supported yet? |
Not all options are supported yet; we'll probably need to create a tracking issue for that. The current implementation maintains the options that For other options, more discussion is needed, especially how t handle options that could apply to a build for a specific service, and therefore cannot / should not be set "globally"; see my comment on #6584 (comment) For options that make sense to set unconditionally on all service For example, with |
@thaJeztah that's true. Probably docker-compose could consider to move
Anyway, wish docker-compose to support |
To anyone else who found themselves here many times (like i did), I believe that when this is merged it will add the ability to use |
You can fork and merge by yourself ;) |
It was released now. |
☝️ Actually, both have to be set if you want to use buildkit;
|
@abdennour What version was it released in, is there a way to confirm its working? |
@guysoft from this blog post seems like |
…'t supported by our compose version docker/compose#6440)
Please post on our forums: https://forums.docker.com for questions about using
docker-compose
.Posts that are not a bug report or a feature/enhancement request will not be addressed on this issue tracker.
docker-compose build
command support buildkit?The text was updated successfully, but these errors were encountered: