-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Non-numeric link alias #364
Conversation
I've never actually tried getting a DB console that way. I create a second service called db:
image: d11wtq/postgres
dbconsole:
image: d11wtq/postgres
links:
- db:db
environment:
- PGPASSWORD=default
command: psql -U default -h db Then:
I think it does make a some sense for service automagically to link to itself for all but the first instance though. |
Ah, just saw @aanand's comment. Sounds like that is already the behaviour, I just never knew! |
Run commands for services link to themselves. If the |
Yes, that is indeed useful, thanks. I'll still keep doing my |
Signed-off-by: Aanand Prasad <[email protected]>
Closes #37. Signed-off-by: Aanand Prasad <[email protected]>
Signed-off-by: Aanand Prasad <[email protected]>
Rebased onto #395. |
LGTM |
Non-numeric link alias Signed-off-by: Yuval Kohavi <[email protected]>
Docs could use a once-over. Aside from the homepage quick start, I haven't yet gone through the tutorials to make sure they definitely still work.