Skip to content
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

Unsupported version of docker-compose. #156

Open
levil664 opened this issue Feb 25, 2023 · 0 comments
Open

Unsupported version of docker-compose. #156

levil664 opened this issue Feb 25, 2023 · 0 comments

Comments

@levil664
Copy link

docker-compose up db

When I ran this command with docker-compose version "3.9", I got:

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.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

I changed the version to "3.3" and everything worked, now dev and main have version "3.9", but everything works for developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant