mirror of https://github.com/portainer/portainer
Merge pull request #172 from chazmuzz/master
Use NetworkSettings.Ports rather than HostConfig.PortBindingspull/2/head
commit
316017c516
|
@ -106,7 +106,7 @@
|
|||
<td>Ports:</td>
|
||||
<td>
|
||||
<ul style="display:inline-table">
|
||||
<li ng-repeat="(containerport, hostports) in container.HostConfig.PortBindings">
|
||||
<li ng-repeat="(containerport, hostports) in container.NetworkSettings.Ports">
|
||||
{{ containerport }} => <span class="label label-default" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue