-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[BUG] docker-compose build isn't functioning with Docker 25.0.x, throwing the error: "unrecognized option '--keep'"
#11551
Comments
|
Hello @ilfat12, I was trying to reproduce your issue with no success. But also I was not using
|
|
Hello @jhrotko
|
|
If I remove buildx, the legacy builder builds the image but docker-compose continues to throw an error. When I created the issue I didn't have buildx installed, so the legacy docker builder worked and I thought the problem was with docker-compose. But now it's clear that the problem is not with it. |
Description
After updating to docker 25.0.3 from docker 24.0.9
docker-compose buildstopped working with the following error:Steps To Reproduce
~/test/docker-compose.yml:
~/test/Dockerfile:
run from the ~/test directory:
docker-compose up -d --buildordocker-compose buildCompose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: