Fix values on images page
Update to current Docker API and add virtual size of the image. Also replace the deprecated Comment with some informations about the build machine.pull/2/head
parent
9baa85f2e4
commit
b888081f54
|
@ -23,40 +23,40 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Created:</td>
|
<td>Created:</td>
|
||||||
<td>{{ image.created }}</td>
|
<td>{{ image.Created }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Parent:</td>
|
<td>Parent:</td>
|
||||||
<td><a href="#/images/{{ image.parent }}/">{{ image.parent }}</a></td>
|
<td><a href="#/images/{{ image.Parent }}/">{{ image.Parent }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Size:</td>
|
<td>Size (Virtual Size):</td>
|
||||||
<td>{{ image.Size|humansize }}</td>
|
<td>{{ image.Size|humansize }} ({{ image.VirtualSize|humansize }})</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Hostname:</td>
|
<td>Hostname:</td>
|
||||||
<td>{{ image.container_config.Hostname }}</td>
|
<td>{{ image.ContainerConfig.Hostname }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>User:</td>
|
<td>User:</td>
|
||||||
<td>{{ image.container_config.User }}</td>
|
<td>{{ image.ContainerConfig.User }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Cmd:</td>
|
<td>Cmd:</td>
|
||||||
<td>{{ image.container_config.Cmd }}</td>
|
<td>{{ image.ContainerConfig.Cmd }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Volumes:</td>
|
<td>Volumes:</td>
|
||||||
<td>{{ image.container_config.Volumes }}</td>
|
<td>{{ image.ContainerConfig.Volumes }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Volumes from:</td>
|
<td>Volumes from:</td>
|
||||||
<td>{{ image.container_config.VolumesFrom }}</td>
|
<td>{{ image.ContainerConfig.VolumesFrom }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Comment:</td>
|
<td>Built with:</td>
|
||||||
<td>{{ image.comment }}</td>
|
<td>Docker {{ image.DockerVersion }} on {{ image.Os}}, {{ image.Architecture }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -1348,40 +1348,40 @@ angular.module("app/components/image/image.html", []).run(["$templateCache", fun
|
||||||
" <tbody>\n" +
|
" <tbody>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Created:</td>\n" +
|
" <td>Created:</td>\n" +
|
||||||
" <td>{{ image.created }}</td>\n" +
|
" <td>{{ image.Created }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Parent:</td>\n" +
|
" <td>Parent:</td>\n" +
|
||||||
" <td><a href=\"#/images/{{ image.parent }}/\">{{ image.parent }}</a></td>\n" +
|
" <td><a href=\"#/images/{{ image.Parent }}/\">{{ image.Parent }}</a></td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Size:</td>\n" +
|
" <td>Size (Virtual Size):</td>\n" +
|
||||||
" <td>{{ image.Size|humansize }}</td>\n" +
|
" <td>{{ image.Size|humansize }} ({{ image.VirtualSize|humansize }})</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Hostname:</td>\n" +
|
" <td>Hostname:</td>\n" +
|
||||||
" <td>{{ image.container_config.Hostname }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Hostname }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>User:</td>\n" +
|
" <td>User:</td>\n" +
|
||||||
" <td>{{ image.container_config.User }}</td>\n" +
|
" <td>{{ image.ContainerConfig.User }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Cmd:</td>\n" +
|
" <td>Cmd:</td>\n" +
|
||||||
" <td>{{ image.container_config.Cmd }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Cmd }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Volumes:</td>\n" +
|
" <td>Volumes:</td>\n" +
|
||||||
" <td>{{ image.container_config.Volumes }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Volumes }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Volumes from:</td>\n" +
|
" <td>Volumes from:</td>\n" +
|
||||||
" <td>{{ image.container_config.VolumesFrom }}</td>\n" +
|
" <td>{{ image.ContainerConfig.VolumesFrom }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Comment:</td>\n" +
|
" <td>Built with:</td>\n" +
|
||||||
" <td>{{ image.comment }}</td>\n" +
|
" <td>Docker {{ image.DockerVersion }} on {{ image.Os}}, {{ image.Architecture }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
" </tbody>\n" +
|
" </tbody>\n" +
|
||||||
|
|
|
@ -337,40 +337,40 @@ angular.module("app/components/image/image.html", []).run(["$templateCache", fun
|
||||||
" <tbody>\n" +
|
" <tbody>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Created:</td>\n" +
|
" <td>Created:</td>\n" +
|
||||||
" <td>{{ image.created }}</td>\n" +
|
" <td>{{ image.Created }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Parent:</td>\n" +
|
" <td>Parent:</td>\n" +
|
||||||
" <td><a href=\"#/images/{{ image.parent }}/\">{{ image.parent }}</a></td>\n" +
|
" <td><a href=\"#/images/{{ image.Parent }}/\">{{ image.Parent }}</a></td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Size:</td>\n" +
|
" <td>Size (Virtual Size):</td>\n" +
|
||||||
" <td>{{ image.Size|humansize }}</td>\n" +
|
" <td>{{ image.Size|humansize }} ({{ image.VirtualSize|humansize }})</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Hostname:</td>\n" +
|
" <td>Hostname:</td>\n" +
|
||||||
" <td>{{ image.container_config.Hostname }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Hostname }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>User:</td>\n" +
|
" <td>User:</td>\n" +
|
||||||
" <td>{{ image.container_config.User }}</td>\n" +
|
" <td>{{ image.ContainerConfig.User }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Cmd:</td>\n" +
|
" <td>Cmd:</td>\n" +
|
||||||
" <td>{{ image.container_config.Cmd }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Cmd }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Volumes:</td>\n" +
|
" <td>Volumes:</td>\n" +
|
||||||
" <td>{{ image.container_config.Volumes }}</td>\n" +
|
" <td>{{ image.ContainerConfig.Volumes }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Volumes from:</td>\n" +
|
" <td>Volumes from:</td>\n" +
|
||||||
" <td>{{ image.container_config.VolumesFrom }}</td>\n" +
|
" <td>{{ image.ContainerConfig.VolumesFrom }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
" <tr>\n" +
|
" <tr>\n" +
|
||||||
" <td>Comment:</td>\n" +
|
" <td>Built with:</td>\n" +
|
||||||
" <td>{{ image.comment }}</td>\n" +
|
" <td>Docker {{ image.DockerVersion }} on {{ image.Os}}, {{ image.Architecture }}</td>\n" +
|
||||||
" </tr>\n" +
|
" </tr>\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
" </tbody>\n" +
|
" </tbody>\n" +
|
||||||
|
|
Loading…
Reference in New Issue