mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
Merge pull request #24 from schmichael/display-publish-ports
Expose ExposedPorts and PublishAllPorts for containers
This commit is contained in:
commit
2ac1049ebf
1 changed files with 13 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue