I am running docker compose file version 3.9 on ubuntu VM on GCP. I get the following error :
Version in “./docker-compose.yml” 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
services key, or omit the
version key and place your service definitions at the root of the file to use version 1.
Can some one please suggest right docker engine and docker compose to run version 3.9 on ubuntu VM on GCP?