-
-
Notifications
You must be signed in to change notification settings - Fork 169
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] New docker compose spams warnings about the version element in the compose definition files #758
Comments
I just tested locally to remove the |
I have same issue. Seems it started since Docker version 25. The site is still running, just too many warning messages when running
|
This is what I am getting after I updated the OrbStack
|
I'm getting the same after updating OrbStack a couple weeks back. |
Fixedin 0.14.3 |
Version of Warden
0.14.2
Operating System and Installation Method
Ubuntu 22.04.4 LTS via Brew
Image
All
docker compose
service definition files.Describe the Bug
Running most Warden commands with the latest (as was available in the
apt
repo at the time of writing) version ofdocker compose
causes spam in the console consisting of warnings like the following:This is completely benign and does not cause issues, but is slightly annoying.
I believe this happens now because the
version
element was used by Compose V1, and Compose V2 has always ignored it (as per this comment). Apparently they have now started warning about it.Since Warden uses the
docker compose
plugin (i.e. Compose V2), I think we can just remove all the version elements from the service definition files.To Reproduce
warden env up
Expected Behavior
No response
Additional context
The text was updated successfully, but these errors were encountered: