Should I use minor version in my docker-compose file? Should I use minor version in my docker-compose file? docker docker

Should I use minor version in my docker-compose file?


Always specify the minor version, else <major>.0 is used!

From the docker compose documentation:

v2 and v3 Declaration

Note: When specifying the Compose file version to use, make sure to specify both the major and minor numbers. If no minor version is given, 0 is used by default and not the latest minor version.