添加 getMappedPort(Integer originalPort, InternetProtocol protocol)

作者: npetzall创建于 2018年1月23日更新于 2026年9月18日
标签type/featureresolution/acknowledgedgood first issue

在我的测试中,它看起来要比 https://GitHub.com/moby/moby/issues/4635 中的代码更好。我认为这与 Demeter 定律有关。不过,公平地说,根本原因是 https://GitHub.com/moby/moby/issues/4635。

内容来源: testcontainers/testcontainers-java