Fixed: Show actual port bindings

pull/2/head
Erwin Molendijk 2016-03-21 11:13:21 +01:00
parent f353dc2c41
commit 194aa9a750
1 changed files with 1 additions and 1 deletions

View File

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