Skip to content

Commit

Permalink
Merge pull request #191 from erwin314/show-port-bindings2
Browse files Browse the repository at this point in the history
Fixed: Show actual port bindings
  • Loading branch information
kevana committed Mar 23, 2016
2 parents a25829b + 194aa9a commit 8cdb675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/container/container.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h4>
<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>
Expand Down

0 comments on commit 8cdb675

Please sign in to comment.