2016-06-08 06:23:11 +00:00
< rd-header >
2016-08-10 03:14:10 +00:00
< rd-header-title title = "Image details" >
< i id = "loadingViewSpinner" class = "fa fa-cog fa-spin" > < / i >
< / rd-header-title >
2016-06-08 06:23:11 +00:00
< rd-header-content >
2016-08-10 03:14:10 +00:00
Images > < a ui-sref = "image({id: image.Id})" > {{ image.Id }}< / a >
2016-06-08 06:23:11 +00:00
< / rd-header-content >
< / rd-header >
2016-08-10 03:14:10 +00:00
< div class = "row" ng-if = "RepoTags.length > 0" >
2016-06-02 05:34:03 +00:00
< div class = "col-lg-12 col-md-12 col-xs-12" >
< rd-widget >
2016-08-10 03:14:10 +00:00
< rd-widget-header icon = "fa fa-tags" title = "Image tags" > < / rd-widget-header >
< rd-widget-body classes = "no-padding" >
< div style = "margin: 5px 10px;" >
2016-08-17 00:27:54 +00:00
< span ng-repeat = "tag in RepoTags" class = "label label-primary image-tag" >
< a data-toggle = "tooltip" class = "interactive" title = "Push to registry" ng-click = "pushImage(tag)" >
< i class = "fa fa-upload white-icon" aria-hidden = "true" > < / i >
< / a >
{{ tag }}
2016-08-10 03:14:10 +00:00
< a data-toggle = "tooltip" class = "interactive" title = "Remove tag" ng-click = "removeImage(tag)" >
< i class = "fa fa-trash-o white-icon" aria-hidden = "true" > < / i >
< / a >
< / span >
2013-06-09 23:11:40 +00:00
< / div >
2016-08-10 03:14:10 +00:00
< div style = "margin: 5px 10px;" >
2016-08-17 00:27:54 +00:00
< span class = "small text-muted" >
Note: you can click on the upload icon to push an image
and on the trash icon to delete a tag
< / span >
2016-06-02 05:34:03 +00:00
< / div >
< / rd-widget-body >
< / rd-widget >
< / div >
< / div >
2016-08-10 03:14:10 +00:00
2016-08-17 06:05:17 +00:00
< div class = "row" >
< div class = "col-lg-12 col-md-12 col-xs-12" >
< rd-widget >
< rd-widget-header icon = "fa-tag" title = "Tag the image" > < / rd-widget-header >
< rd-widget-body >
< form class = "form-horizontal" >
<!-- name - and - registry - inputs -->
< div class = "form-group" >
< label for = "image_name" class = "col-sm-1 control-label text-left" > Name< / label >
< div class = "col-sm-7" >
< input type = "text" class = "form-control" ng-model = "config.Image" id = "image_name" placeholder = "e.g. myImage:myTag" >
< / div >
< label for = "image_registry" class = "col-sm-1 control-label text-left" > Registry< / label >
< div class = "col-sm-3" >
< input type = "text" class = "form-control" ng-model = "config.Registry" id = "image_registry" placeholder = "optional" >
< / div >
< / div >
<!-- !name - and - registry - inputs -->
<!-- tag - note -->
< div class = "form-group" >
< div class = "col-sm-12" >
< span class = "small text-muted" > Note: if you don't specify the tag in the image name, < span class = "label label-default" > latest< / span > will be used.< / span >
< / div >
< / div >
<!-- !tag - note -->
< div class = "form-group" >
< div class = "col-sm-12" >
< button type = "button" class = "btn btn-default btn-sm" ng-disabled = "!config.Image" ng-click = "tagImage()" > Tag< / button >
< i id = "pullImageSpinner" class = "fa fa-cog fa-spin" style = "margin-left: 5px; display: none;" > < / i >
< / div >
< / div >
< / form >
< / rd-widget-body >
< / rd-widget >
< / div >
< / div >
2016-06-02 05:34:03 +00:00
< div class = "row" >
2016-08-10 03:14:10 +00:00
< div class = "col-lg-12 col-md-12 col-xs-12" >
2016-06-02 05:34:03 +00:00
< rd-widget >
< rd-widget-header icon = "fa-clone" title = "Image details" > < / rd-widget-header >
< rd-widget-body classes = "no-padding" >
< table class = "table" >
< tbody >
< tr >
2016-08-10 03:14:10 +00:00
< td > ID< / td >
2016-06-02 05:34:03 +00:00
< td >
2016-08-10 03:14:10 +00:00
{{ image.Id }}
< button class = "btn btn-xs btn-danger" ng-click = "removeImage(image.Id)" > Delete this image< / button >
2016-06-02 05:34:03 +00:00
< / td >
< / tr >
2016-08-10 03:14:10 +00:00
< tr ng-if = "image.Parent" >
2016-06-02 05:34:03 +00:00
< td > Parent< / td >
2016-06-14 02:13:52 +00:00
< td > < a ui-sref = "image({id: image.Parent})" > {{ image.Parent }}< / a > < / td >
2016-06-02 05:34:03 +00:00
< / tr >
< tr >
2016-08-10 03:14:10 +00:00
< td > Size< / td >
< td > {{ image.VirtualSize|humansize }}< / td >
2016-06-02 05:34:03 +00:00
< / tr >
< tr >
2016-08-10 03:14:10 +00:00
< td > Created< / td >
< td > {{ image.Created|getisodate }}< / td >
2016-06-02 05:34:03 +00:00
< / tr >
< tr >
2016-08-10 03:14:10 +00:00
< td > Build< / td >
< td > Docker {{ image.DockerVersion }} on {{ image.Os}}, {{ image.Architecture }}< / td >
2016-06-02 05:34:03 +00:00
< / tr >
2016-08-10 03:14:10 +00:00
< tr ng-if = "image.Author" >
< td > Author< / td >
< td > {{ image.Author }}< / td >
2016-06-02 05:34:03 +00:00
< / tr >
2016-08-10 03:14:10 +00:00
< / tbody >
< / table >
< / rd-widget-body >
< / rd-widget >
< / div >
< / div >
< div class = "row" >
< div class = "col-lg-12 col-md-12 col-xs-12" >
< rd-widget >
< rd-widget-header icon = "fa-clone" title = "Dockerfile details" > < / rd-widget-header >
< rd-widget-body classes = "no-padding" >
< table class = "table" >
< tbody >
2016-06-02 05:34:03 +00:00
< tr >
2016-08-10 03:14:10 +00:00
< td > CMD< / td >
< td > < code > {{ image.ContainerConfig.Cmd|command }}< / code > < / td >
2016-06-02 05:34:03 +00:00
< / tr >
2016-08-10 03:14:10 +00:00
< tr ng-if = "image.ContainerConfig.Entrypoint" >
< td > ENTRYPOINT< / td >
< td > < code > {{ image.ContainerConfig.Entrypoint|command }}< / code > < / td >
< / tr >
< tr ng-if = "image.ContainerConfig.ExposedPorts" >
< td > EXPOSE< / td >
< td >
< span class = "label label-default tag" ng-repeat = "port in exposedPorts" >
{{ port }}
< / span >
< / td >
< / tr >
< tr ng-if = "image.ContainerConfig.Volumes" >
< td > VOLUME< / td >
< td >
< span class = "label label-default tag" ng-repeat = "volume in volumes" >
{{ volume }}
< / span >
< / td >
2016-06-02 05:34:03 +00:00
< / tr >
< tr >
2016-08-10 03:14:10 +00:00
< td > ENV< / td >
< td >
< table class = "table table-bordered table-condensed" >
< tr ng-repeat = "var in image.ContainerConfig.Env" >
2016-08-19 06:41:45 +00:00
< td > {{ var|key: '=' }}< / td >
< td > {{ var|value: '=' }}< / td >
2016-08-10 03:14:10 +00:00
< / tr >
< / table >
< / td >
2016-06-02 05:34:03 +00:00
< / tr >
< / tbody >
< / table >
< / rd-widget-body >
< / rd-widget >
< / div >
2013-06-09 23:11:40 +00:00
< / div >