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

name the container? #37

Open
d opened this issue Jan 18, 2018 · 0 comments
Open

name the container? #37

d opened this issue Jan 18, 2018 · 0 comments

Comments

@d
Copy link
Owner

d commented Jan 18, 2018

This might enable two use cases:

  1. Getting another shell in the container by docker exec -ti <name> /bin/bash
  2. Running psql directly against the database with something like
    docker run --rm -ti --link <name>:gpdb postgres psql -h gpdb -p 15432 -U gpadmin -d postgres
    or
    docker run --rm -ti --net container:<name> postgres psql -h localhost -p 15432 -U gpadmin -d postgres
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

1 participant