'include' documentation should specify applicable version
kchawla-pi opened this issue · comments
File: 14-include.md
Documentation for 'include' in compose file should specify which version of compose file will support this. I wasted hours trying to get it to work with my file (v 3.8) & docker installation (Docker Desktop for Windows v4.20.1)
@kchawla-pi the version
attribute has been deprecated with the introduction of the Compose specification. Include
should support any compose files which respect the Compose specification
Docker version then?
Because I get (root) Additional property include is not allowed
.
It's supported in Docker Compose v2.20. Docker Desktop is still on v2.19
.
@kchawla-pi ok I understand your trouble now.
So I checked the Docker Compose page about include and the version needed is the first thing mentioned.
This repository concerns the definition of the specification, so it should not be coupled to a specific implementation, that's why you won't see any reference to a particular version of product here.