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 compose unsupported #71

Open
HafeezRai opened this issue Jan 28, 2019 · 2 comments
Open

docker compose unsupported #71

HafeezRai opened this issue Jan 28, 2019 · 2 comments

Comments

@HafeezRai
Copy link

HafeezRai commented Jan 28, 2019

ERROR: Version in "./compose/app.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") 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/

Docker version 18.09.1, build 4c52b90
docker-compose version 1.8.0, build unknown

any help?

@shaqman
Copy link

shaqman commented Feb 20, 2019

I'm also seeing this with version:

Docker version 18.06.1-ce, build e68fc7a
docker-compose version 1.17.1, build unknown

Using the version and service format specified as mentioned in the error let me get passed it. But unfortunately, it gives more issues.

Updating docker-compose fixes it, but I think it should at least try to generate configs that are compatible with the installed docker-compose version.

@bitbd83
Copy link

bitbd83 commented Mar 16, 2019

curl -L https://github.com/docker/compose/releases/download/1.24.0-rc1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Re-install again problem solved!

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

3 participants