mirror of https://github.com/portainer/portainer
Display PortBindings in the /container view
parent
5075995129
commit
1bbfdff369
|
@ -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…
Reference in New Issue