Expose ExposedPorts and PublishAllPorts for containers

pull/2/head
Michael Schurter 11 years ago
parent 6e4ef733ce
commit be2346657e

@ -22,10 +22,22 @@
<td>Args:</td> <td>Args:</td>
<td>{{ container.Args }}</td> <td>{{ container.Args }}</td>
</tr> </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> <tr>
<td>Ports:</td> <td>Ports:</td>
<td> <td>
{{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }} {{ container.NetworkSettings.PortMapping || container.Config.PortSpecs }}
</td> </td>
</tr> </tr>

Loading…
Cancel
Save