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

Only version 2.X of the docker-compose format is supported #829

Closed
hrishin opened this issue Aug 1, 2017 · 3 comments
Closed

Only version 2.X of the docker-compose format is supported #829

hrishin opened this issue Aug 1, 2017 · 3 comments

Comments

@hrishin
Copy link
Member

hrishin commented Aug 1, 2017

Description

https://github.com/fabric8io/docker-maven-plugin/blob/master/samples/docker-compose/src/main/docker/docker-compose.yml file is having following version number

version: "2"

When we run the example it logs following message
Only version 2.X of the docker-compose format is supported for xxx/docker-compose file

Is it desired behavior or bug?

Info

  • d-m-p version : 0.21
  • Maven version (mvn -v) :
Apache Maven 3.3.9 (NON-CANONICAL_2016-07-01T11:53:38Z_mockbuild; 2016-07-01T17:23:38+05:30)
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.11.10-200.fc25.x86_64", arch: "amd64", family: "unix"
@jthoenes
Copy link
Contributor

Found a workaround. Set the version to "2.2" and it works for now.

@jimusbobus
Copy link

@jthoenes do you mean set the version in 2.2 in the docker-compose.yml file or somewhere else?

@jthoenes
Copy link
Contributor

@jimusbobus yes, exactly in the docker-compose.yml file

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