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

When doing docker-compose up I get message ./docker-compose.yml' service 'version' doesn't have any configuration #3

Open
yssoe opened this issue Nov 22, 2016 · 3 comments

Comments

@yssoe
Copy link

yssoe commented Nov 22, 2016

Hi,

I followed the documentation and when I reach the step docker-compose up, I got this message:

docker-compose up

ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

I just took all the default options.

Any ideas?

@kmike
Copy link
Contributor

kmike commented Nov 22, 2016

What is your docker-compose version?

@yssoe
Copy link
Author

yssoe commented Nov 22, 2016

Hi Mike,

Thank you for your answer,

docker-compose version 1.5.2, build unknown
docker-py version: 1.8.0
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016

@kmike
Copy link
Contributor

kmike commented Nov 22, 2016

I think docker-compose version is a problem: aquarium uses a more recent docker-compose.yml file format introduced in docker-compose 1.6 (see https://github.com/docker/compose/blob/master/CHANGELOG.md#160-2016-01-15). We should document minimum version though. Upgrading docker-compose should help.

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

2 participants