Merge pull request #191 from erwin314/show-port-bindings2

Fixed: Show actual port bindings
pull/2/head
Kevan Ahlquist 9 years ago
commit 8cdb675abc

@ -141,7 +141,7 @@
<div ng-show="!editPorts">
<button class="btn btn-default btn-xs pull-right" ng-click="editPorts = true"><i class="glyphicon glyphicon-pencil"></i></button>
<ul>
<li ng-repeat="(containerport, hostports) in container.HostConfig.PortBindings">
<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>

Loading…
Cancel
Save