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

docker version #134

Closed
lmatz opened this issue Jul 5, 2022 · 0 comments · Fixed by #137
Closed

docker version #134

lmatz opened this issue Jul 5, 2022 · 0 comments · Fixed by #137
Labels
enhancement New feature or request

Comments

@lmatz
Copy link
Contributor

lmatz commented Jul 5, 2022

In the ad-ctr tutorial,

docker-compose up -d
ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
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/

See the issue at docker/compose#9412

We may need to either remind users of the docker's version or ask users to enable "Use Docker Compose V2" in Docker Desktop to fix the problem.

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

Successfully merging a pull request may close this issue.

1 participant