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

Links is going away, what then? #3

Open
HelloGrayson opened this issue Jan 30, 2016 · 2 comments
Open

Links is going away, what then? #3

HelloGrayson opened this issue Jan 30, 2016 · 2 comments

Comments

@HelloGrayson
Copy link

Looks like the links feature in Docker Compose is deprecated - what's the plan once this goes away?

Found this tool by reading docker/compose#686 & docker/compose#374 - looks super useful.

@tobischo
Copy link
Member

waitforservices uses the env variables which are set by linking containers.
Even if links is going away in compose, you'd have to have a way of making containers accessible to one another. I doubt that the way of accessing the way containers are exposed to one-another will change to anything else but environment variables, so unless the naming schema changes as it is used here https://github.com/Barzahlen/waitforservices/blob/master/main.go#L95
waitforservices

@mfrister
Copy link
Contributor

mfrister commented Feb 5, 2016

Unfortunately, env variables are actually going to go away.

I don't have a plan yet on how to get a list of depencencies of a service from within a container - we'll probably have to find a way to access compose' new depends_on option.

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