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 2a37f54 commit d0e4e87Copy full SHA for d0e4e87
src/docker_service.py
@@ -27,6 +27,7 @@ def getPublishedPorts(self):
27
continue
28
for port in container.ports:
29
if container.ports[port] == None:
30
+ ports.append({"internal":port, "published":int(port.replace("/tcp", "").replace("/udp", ""))})
31
32
publishedPort = container.ports[port][0]["HostPort"]
33
ports.append({"internal":port, "published":int(publishedPort)})
0 commit comments