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

Containers should be discoverable from their container id #2702

Closed
dnephin opened this issue Jan 19, 2016 · 0 comments
Closed

Containers should be discoverable from their container id #2702

dnephin opened this issue Jan 19, 2016 · 0 comments
Assignees
Milestone

Comments

@dnephin
Copy link

dnephin commented Jan 19, 2016

Containers currently join networks using the container name (default), and with their service name.

We'd like to change or deprecate the container name (#1516), so we should provide a second alias that allows a user to uniquely identify a container (when multiple containers have the same service name, when they are scaled).

We could either use the short container id, or service-<short container id>.

I think just container id might be better. It's already possible to query for this id from within the container ($(hostname)), but it's not possible to query for the service name.

@dnephin dnephin added this to the 1.6.0 milestone Jan 19, 2016
@dnephin dnephin changed the title Containers should be discoverable from their container name Containers should be discoverable from their container id Jan 19, 2016
@aanand aanand self-assigned this Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants