Display PortBindings in the /container view

pull/2/head
Arnaud Lafon 11 years ago
parent 5075995129
commit 1bbfdff369

@ -37,7 +37,11 @@
<tr>
<td>Ports:</td>
<td>
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
<ul style="display:inline-table">
<li ng-repeat="(containerport, hostports) in container.HostConfig.PortBindings">
{{ containerport }} => <span class="label" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
</li>
</ul>
</td>
</tr>

Loading…
Cancel
Save