1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

Expose ExposedPorts and PublishAllPorts for containers

This commit is contained in:
Michael Schurter 2014-03-18 16:03:55 -07:00
parent 6e4ef733ce
commit be2346657e

View file

@ -22,10 +22,22 @@
<td>Args:</td>
<td>{{ container.Args }}</td>
</tr>
<tr>
<td>Exposed Ports:</td>
<td>
<ul>
<li ng-repeat="(k, v) in container.Config.ExposedPorts">{{ k }}</li>
</ul>
</td>
</tr>
<tr>
<td>Publish All:</td>
<td>{{ container.HostConfig.PublishAllPorts }}</td>
</tr>
<tr>
<td>Ports:</td>
<td>
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
</td>
</tr>