Merge pull request #33 from alafon/containerview-portbindings

Display PortBindings instead of PortMapping in the /container view
pull/2/head
Michael Crosby 10 years ago
commit 89a5b6e4f9

@ -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