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

Added port binding to specific host ip #62

Merged
merged 2 commits into from
Jun 2, 2023
Merged

Conversation

primoze
Copy link
Contributor

@primoze primoze commented Jun 1, 2023

What did you implement:

Added the option to bind a host port on a host IP. Added HostPort, made expose generic, and implemented From<u32> for HostPort to not break existing code. Also added a From<SocketAddr> implementation for convenience.

Closes: #xxx

How did you verify your change:

Added a test case to create_container_opts, also verified manually.

What (if anything) would need to be called out in the CHANGELOG for the next release:

Mention the expose signature change

@vv9k
Copy link
Owner

vv9k commented Jun 2, 2023

Looks good to me! Thanks for your work :)

@vv9k vv9k merged commit 0df4c3d into vv9k:master Jun 2, 2023
@primoze
Copy link
Contributor Author

primoze commented Jun 2, 2023

Sure thing! Thank you for maintaining it :)

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

Successfully merging this pull request may close these issues.

2 participants