-
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
Epic: Backwards-incompatible changes to the Compose file format #2504
Comments
Added #2458 to the list, because of the implied changes to override logic. |
@aanand I guess adding a key for every type of driver makes sense? So not only
Although volume drivers could be service/container specific... |
Volume drivers are complicated: you can choose a driver per container, and you can also choose a driver per volume. I presume the per-container driver is used when auto-creating volumes that don't already exist, but I'm not certain. I presume what you're suggesting here is the ability to configure global default drivers. That might be a nice feature, but I don't think there's any particular pressure to have it in place in the first version of the new config format. |
Agreed, they are a bit more complicated. The same goes for the network driver.
Actually I think I misunderstood #2503 to be for a global definition for the logging driver, but the |
+1 |
Looks like all the boxes are checked, so closing this issue. |
In the next version of the Compose file format, we plan to make changes to the basic structure of the file (see #2421, #2478). We will preserve existing behaviour for users of the old file format.
This means we have a good opportunity to make other potentially-backwards-incompatible changes to the configuration format, as long as they only apply to files using the new version. If users are upgrading their files anyway, it's less hassle to make other required changes at that time.
Here are some proposed changes it'd be good to get in:
net
andvolumes_from
's container/service support explicitlogging
keybuild
config sectionimage
will no longer overridebuild
, and vice versa) will be.The text was updated successfully, but these errors were encountered: