We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91c334 commit 9edbd35Copy full SHA for 9edbd35
src/main/java/de/rub/nds/tls/subject/docker/DockerTlsServerInstance.java
@@ -67,14 +67,6 @@ public void start() {
67
* Update port to match actually exposed port.
68
*/
69
public void updateInstancePort() {
70
- InspectContainerResponse containerInfo = DOCKER.inspectContainerCmd(getId()).exec();
71
- if (containerInfo == null) {
72
- throw new IllegalStateException("Could not find container with ID:" + getId());
73
- }
74
- NetworkSettings networkSettings = containerInfo.getNetworkSettings();
75
- if (networkSettings == null) {
76
- throw new IllegalStateException("Cannot retrieve InstacePort, Network not properly configured for container with ID:" + getId());
77
78
port = imageProperties.getInternalPort();
79
}
80
0 commit comments