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

Request: Obtainning IP address of a running container #57

Closed
jpthomasset opened this issue Oct 8, 2016 · 0 comments
Closed

Request: Obtainning IP address of a running container #57

jpthomasset opened this issue Oct 8, 2016 · 0 comments

Comments

@jpthomasset
Copy link
Contributor

It could be usefull sometimes not to map port to the host but use the container IP address directly to access the service exposed.
The problem I have is on my build & integration test server where several build can run at the same times resulting in conflict over the port mapped to the host. By not mapping port and using the container IP address directly would allow to have several instances of the same service available to the running jobs. Unfortunately I did not found a way using the docker-it-scala api to get a container IP address, only the mapped ports are available.

jpthomasset added a commit to jpthomasset/docker-it-scala that referenced this issue Oct 8, 2016
viktortnk added a commit that referenced this issue Oct 9, 2016
Implement #57 getIpAddresses on DockerContainerState
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

2 participants