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

Rename 3.4 schema to 3.4-beta #5129

Merged
merged 1 commit into from
Aug 24, 2017
Merged

Rename 3.4 schema to 3.4-beta #5129

merged 1 commit into from
Aug 24, 2017

Conversation

shin-
Copy link

@shin- shin- commented Aug 24, 2017

On the Docker Engine side, the 3.4 format is still in development until the 17.08 release. This change will let people use the current version using the 3.4-beta version marker.

Also adding the schema to docker-compose.spec, fixes #5128

@shin- shin- added this to the 1.16.0 milestone Aug 24, 2017
Signed-off-by: Joffrey F <joffrey@docker.com>
@shin- shin- merged commit e370a22 into master Aug 24, 2017
@schmunk42
Copy link

@shin- How can I test 3.4-beta or better how do I get a nightly (static) binary of docker-compose?

Related: #2147

@shin-
Copy link
Author

shin- commented Sep 26, 2017

It's in 1.16.1, just use "3.4-beta" in the version field of your Compose file. Note that it will disappear in the next release though.

@schmunk42
Copy link

But it appears it does not support the x-[...] syntax from 3.4 mentioned in docker/cli#452

$ docker-compose -v
docker-compose version 1.16.1, build 6d1ac21

docker-compose.yml

version: '3.4-beta'
x-extends: &anchor
  - one
  - two
services:
  nginx:
    image: nginx

Error message

$ docker-compose config
ERROR: The Compose file './docker-compose.yml' is invalid because:
Additional properties are not allowed ('x-extends' was unexpected)

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/

@shin-
Copy link
Author

shin- commented Sep 27, 2017

Yes - it will be in regular 3.4 in the next release. #5140

@schmunk42
Copy link

I understand. But is there any chance to get nightly builds of binaries? #2147

@shin-
Copy link
Author

shin- commented Sep 27, 2017

@schmunk42 Yep, those should be up to date again, we checked with @dnephin this morning: https://dl.bintray.com/docker-compose/master/

@neumachen
Copy link

@shin I forget, but when is this going to be released?

@shin-
Copy link
Author

shin- commented Oct 24, 2017

Beginning of November

@shin- shin- deleted the 5128-3.4-deactivate branch December 7, 2017 23:18
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

Successfully merging this pull request may close these issues.

3.4 not supported in 1.16-rc1
3 participants