-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Links are deprecated #545
Comments
Ok, thanks and apologies for not spotting that before. Feel free to close, but I do feel this is pretty misleading for new users (who shouldn't be pushed towards links). |
Wait, I'm missing something. Why would you need to explain I think using links actually adds more complexity for the user, as now they have another concept to look up, only to find it's "legacy" and wonder why it was used here. I can come up with an alternative as a PR if you would consider changing. |
I (personally) don't think it should recommend using Note that On the default ( I actually proposed to replace the old (hard-wired) links, and use the same approach for both the default bridge network as for custom networks, and use the embedded DNS for all cases; moby/moby#22295, but that needs further discussion (should all behaviours of the old links stay in place, including the environment-variables?) |
Just wanted to say thanks for this @yosifkit ; I think it was worth the work. |
The documentation tells users to use
--link
to connect applications to the mysql container, but this is unnecessary and deprecated: https://docs.docker.com/network/links/The text was updated successfully, but these errors were encountered: