Different docker-compose version might throw an error e.g.:
ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the serviceskey, or omit theversion key and place your service definitions at the root of the file to use version 1.
This is the result with my build version:
docker-compose version 1.17.1, build unknown
Please add your version in the readme for compatibility.
Edit: this error does not come up when changing in docker-compose.yaml from VERSION: '3.7' to VERSION: '3'
Different docker-compose version might throw an error e.g.:
ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under theserviceskey, or omit theversionkey and place your service definitions at the root of the file to use version 1.This is the result with my build version:
docker-compose version 1.17.1, build unknownPlease add your version in the readme for compatibility.
Edit: this error does not come up when changing in docker-compose.yaml from VERSION: '3.7' to VERSION: '3'