Changed: Show automatic port bindings when PublishAllPorts is set.

pull/2/head
Erwin Molendijk 9 years ago
parent a33123469a
commit bfe9038630

@ -133,7 +133,17 @@
<tr>
<td>Publish All:</td>
<td>{{ container.HostConfig.PublishAllPorts }}</td>
<td>
<div>{{ container.HostConfig.PublishAllPorts }}</div>
<div ng-show="container.HostConfig.PublishAllPorts">
<ul>
<li ng-repeat="(containerport, hostports) in container.NetworkSettings.Ports">
{{ containerport }} =>
<span class="label label-default" style="margin-right: 5px;" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
</li>
</ul>
</div>
</td>
</tr>
<tr>
<td>Ports:</td>

Loading…
Cancel
Save