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

Use inspectNetworkCmd to get the gateway's IP #2151

Merged
merged 1 commit into from Dec 19, 2019

Conversation

bsideup
Copy link
Member

@bsideup bsideup commented Dec 5, 2019

To avoid running a container with ip|awk, we can simply inspect the bridge network instead.

This idea was discovered while hacking on testcontainers/testcontainers-rs#139

@rnorth
Copy link
Member

rnorth commented Dec 19, 2019

I've tested this with our internal derivative of dind-drone-plugin and am happy that it behaves consistently in even our slightly complicated DinD setup 😄.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants