-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Spring Boot 3.4.1 fails to start on Windows when using docker-compose because of --orphans flag #43811
Comments
Hello @boyvanduuren
The minimum requirement should be docker compose 2.24 as this feature was introduced in docker/compose@caa0cbb. I don't see any sign pointing to this feature not being available on windows. |
@boyvanduuren Please try 3.4.2-SNAPSHOT, it's fixed by #43717. |
This comment has been minimized.
This comment has been minimized.
Hi @bclozel, I mentioned the docker-compose version in the bug report. It is It seems the version returned by
Both are provided by the Docker Desktop installation though:
I can confirm that
There's a chance that this is now broken for people using Docker Desktop for Windows. I checked with one other colleague that uses it and has the same issue. |
Thanks, @boyvanduuren. Spring Boot calls |
I can confirm |
Thanks for letting us know, @boyvanduuren. |
After upgrading to spring boot 3.4.1 my application isn't working anymore on Windows because of an unknown
--orphans
flag.I'm using the Docker Desktop version
4.37.1 (178610)
, which is the latest.I think the
--orphans
flag does not exist ondocker-compose
for Windows.The version of docker-compose included in the latest Docker Desktop for Windows is
v2.29.7-desktop.1
.Switching back to 4.3.0 fixes the issue. Colleagues on Windows using Rancher Desktop, or colleagues using MacOS do not have this issue.
I saw some recent (fixed) issues related to the use of
--orphans
that might have introduced this issue:#43710
#40139
The text was updated successfully, but these errors were encountered: