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

Add documentation which showcases using YAML anchors and aliases #1015

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
6 participants
@nickjj
Copy link

commented Feb 24, 2015

Signed-off-by: Nick Janetakis nick.janetakis@gmail.com

Add documentation which showcases using YAML anchors and aliases
Signed-off-by: Nick Janetakis <nick.janetakis@gmail.com>
@hadim

This comment has been minimized.

Copy link

commented Feb 24, 2015

So usefull !

@Starefossen

This comment has been minimized.

Copy link

commented Feb 25, 2015

Nicely done @nickjj 👍

@SvenDowideit

This comment has been minimized.

Copy link
Contributor

commented Feb 26, 2015

that's very nice!

@dnephin dnephin added the kind/docs label Aug 7, 2015

@dnephin

This comment has been minimized.

Copy link
Contributor

commented Oct 6, 2015

Now that we have extends, I'm not sure we need to call this out.

@dnephin

This comment has been minimized.

Copy link
Contributor

commented Nov 5, 2015

Thanks for the PR!

Now that we have both extends and support for multiple files (http://docs.docker.com/compose/extends/), I think there is less of a need for yaml anchors and aliases.

We've added a link to the yaml docs at the top of http://docs.docker.com/compose/compose-file/

Our concern is that by documenting this feature of yaml, we'll be encouraging people to use it and there will be some expectation of support for this feature. I don't think we'll be able to accept this PR.

@dnephin dnephin closed this Nov 5, 2015

@nickjj

This comment has been minimized.

Copy link
Author

commented Nov 6, 2015

I still think anchors are useful in the case where you just want 1 file which isn't terribly complex but yeah the PR was opened almost a year ago when extends wasn't available so I definitely agree that it's less important to draw attention to anchors.

@grayside

This comment has been minimized.

Copy link

commented Jun 16, 2017

Now that extends is gone, might bringing back support for anchors be considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.