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

Add Name to ContainerNetworkConfig #2052

Merged

Conversation

albers
Copy link
Contributor

@albers albers commented Jan 25, 2023

I have a use case where this property would be very helpful:

In a Quarkus integration test, I have to find a container in a temporary network based on its name.
With the current codebase, I have to inspect each container in the network in order to find the matching container.
Having the container name available in ContainerNetworkConfig would simplify the search.

The Name property appears first in the v1.30 Docker api docs.

Signed-off-by: Harald Albers <github@albersweb.de>
Copy link
Member

@eddumelendez eddumelendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First appearance was on v1.22 https://docs.docker.com/engine/api/v1.22/

@eddumelendez eddumelendez added this to the next milestone Feb 3, 2023
Co-authored-by: Eddú Meléndez Gonzales <eddu.melendez@gmail.com>
@eddumelendez eddumelendez merged commit db508d8 into docker-java:master Feb 5, 2023
@eddumelendez
Copy link
Member

Thanks for your contribution, @albers! This is now merged in master branch and it will be part of the next release.

@albers albers deleted the extend-container-network-config branch February 6, 2023 11:07
@albers
Copy link
Contributor Author

albers commented Feb 6, 2023

Thank you @eddumelendez. I'm looking forward to the next release.

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