Merge pull request #5115 from QiWang19/images-format

images --format compatible with docker
This commit is contained in:
OpenShift Merge Robot
2020-02-13 11:42:47 +01:00
committed by GitHub
3 changed files with 51 additions and 25 deletions

View File

@ -51,6 +51,18 @@ Filter output based on conditions provided
Change the default output format. This can be of a supported type like 'json'
or a Go template.
Valid placeholders for the Go template are listed below:
| **Placeholder** | **Description** |
| --------------- | ----------------------------------------------------------------------------- |
| .ID | Image ID |
| .Repository | Image repository |
| .Tag | Image tag |
| .Digest | Image digest |
| .CreatedSince | Elapsed time since the image was created |
| .CreatedAt | Time when the image was created |
| .Size | Size of layer on disk |
| .History | History of the image layer |
**--history**