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

Fix: Silence Deprecated Version Warning #1570

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Saijin-Naib
Copy link
Contributor

Remove deprecated Docker Version object from YML files

Remove deprecated Docker Version object from YML files
@pierotofy
Copy link
Member

But will this break with older versions of docker-compose?

@Saijin-Naib
Copy link
Contributor Author

Saijin-Naib commented Nov 20, 2024

It should work on v2+, as this was deprecated after v2.

Do we still ship/support v1?

@pierotofy
Copy link
Member

We try to support everything. I'm OK merging this if it doesn't break older versions (test?). If it does break older versions, we'll just keep the deprecation notice, which is just a notice and can be ignored.

@Saijin-Naib
Copy link
Contributor Author

I need to package it to test, Alpine doesn't ship v1 since it is long since deprecated.

One of the major improvements of v2 is using - instead of _ for the containers to ensure the hostnames are DNS-compliant and reachable, which seems like a very important UX improvement vs keeping the older compose.

@kikislater
Copy link
Member

+1 for this PR
v1 is out of date now, it is time to update !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants