mirror of https://github.com/containers/podman.git
man pages: document some --format options: images
Baby steps toward merging #14046: document Go format options for podman images. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
84c85f4d94
commit
0e4eeb52ec
|
@ -74,15 +74,31 @@ or a Go template.
|
||||||
Valid placeholders for the Go template are listed below:
|
Valid placeholders for the Go template are listed below:
|
||||||
|
|
||||||
| **Placeholder** | **Description** |
|
| **Placeholder** | **Description** |
|
||||||
| --------------- | ----------------------------------------------------------------------------- |
|
|-----------------|------------------------------------------------------------|
|
||||||
| .ID | Image ID |
|
| .Containers | Number of containers using this image |
|
||||||
| .Repository | Image repository |
|
| .Created | Elapsed time since the image was created |
|
||||||
| .Tag | Image tag |
|
| .CreatedAt | Time when the image was created, YYYY-MM-DD HH:MM:SS +nnnn |
|
||||||
|
| .CreatedSince | Same as .Created |
|
||||||
|
| .CreatedTime | Same as .CreatedAt |
|
||||||
|
| .Dangling | Same as .IsDangling |
|
||||||
| .Digest | Image digest |
|
| .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 | History of the image layer |
|
||||||
|
| .ID | Image ID (truncated) |
|
||||||
|
| .Id | Image ID (full SHA) |
|
||||||
|
| .ImageSummary | Internal data structure, not actually useful |
|
||||||
|
| .IsDangling | Is image dangling? (true/false) |
|
||||||
|
| .IsReadOnly | Is unage read-only? (true/false) |
|
||||||
|
| .Labels | map[] of labels |
|
||||||
|
| .Names | Image FQIN |
|
||||||
|
| .ParentId | Full SHA of parent image ID, or null (string) |
|
||||||
|
| .ReadOnly | Same as .IsReadOnly |
|
||||||
|
| .RepoDigests | map[] of zero or more repo/name@sha256:SHA strings |
|
||||||
|
| .Repository | Image repository |
|
||||||
|
| .RepoTags | map[] of zero or more FQIN strings for this image |
|
||||||
|
| .SharedSize | Always seems to be 0 |
|
||||||
|
| .Size | Size of layer on disk (human-friendly string) |
|
||||||
|
| .Tag | Image tag |
|
||||||
|
| .VirtualSize | Size of layer on disk (bytes) |
|
||||||
|
|
||||||
#### **--history**
|
#### **--history**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue