2017-07-29 17:26:21 +00:00
|
|
|
% kpod(1) kpod-history - Simple tool to view the history of an image
|
2017-07-10 00:33:50 +00:00
|
|
|
% Urvashi Mohnani
|
2017-07-29 17:26:21 +00:00
|
|
|
% kpod-history "1" "JULY 2017" "kpod"
|
2017-07-10 00:33:50 +00:00
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## NAME
|
|
|
|
kpod-history - Shows the history of an image
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2017-07-10 00:33:50 +00:00
|
|
|
**kpod history [OPTIONS] IMAGE[:TAG|DIGEST]**
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## DESCRIPTION
|
2017-07-10 00:33:50 +00:00
|
|
|
**kpod history** displays the history of an image by printing out information
|
|
|
|
about each layer used in the image. The information printed out for each layer
|
|
|
|
include Created (time and date), Created By, Size, and Comment. The output can
|
|
|
|
be truncated or not using the **--no-trunc** flag. If the **--human** flag is
|
|
|
|
set, the time of creation and size are printed out in a human readable format.
|
|
|
|
The **--quiet** flag displays the ID of the image only when set and the **--format**
|
|
|
|
flag is used to print the information using the Go template provided by the user.
|
|
|
|
|
|
|
|
Valid placeholders for the Go template are listed below:
|
|
|
|
| **Placeholder** | **Description** |
|
|
|
|
|-----------------|------------------------------------------------------------------------------|
|
|
|
|
| .ID | Image ID |
|
|
|
|
| .Created | if **--human**, time elapsed since creation, otherwise time stamp of creation|
|
|
|
|
| .CreatedBy | Command used to create the layer |
|
|
|
|
| .Size | Size of layer on disk |
|
|
|
|
| .Comment | Comment for the layer |
|
|
|
|
|
|
|
|
**kpod [GLOBAL OPTIONS]**
|
|
|
|
|
|
|
|
**kpod [GLOBAL OPTIONS] history [OPTIONS]**
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## GLOBAL OPTIONS
|
2017-07-10 00:33:50 +00:00
|
|
|
|
|
|
|
**--help, -h**
|
|
|
|
Print usage statement
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## OPTIONS
|
2017-07-10 00:33:50 +00:00
|
|
|
|
|
|
|
**--human, -H**
|
|
|
|
Display sizes and dates in human readable format
|
|
|
|
|
|
|
|
**--no-trunc**
|
|
|
|
Do not truncate the output
|
|
|
|
|
|
|
|
**--quiet, -q**
|
|
|
|
Print the numeric IDs only
|
|
|
|
|
|
|
|
**--format**
|
2017-08-14 19:32:00 +00:00
|
|
|
Alter the output for a format like 'json' or a Go template.
|
2017-07-10 00:33:50 +00:00
|
|
|
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## COMMANDS
|
2017-07-10 00:33:50 +00:00
|
|
|
|
|
|
|
**kpod history debian**
|
|
|
|
|
|
|
|
**kpod history --no-trunc=true --human=false debian**
|
|
|
|
|
|
|
|
**kpod history --format "{{.ID}} {{.Created}}" debian**
|
|
|
|
|
2017-08-14 19:32:00 +00:00
|
|
|
**kpod history --format json debian**
|
|
|
|
|
2017-07-10 00:33:50 +00:00
|
|
|
## history
|
|
|
|
Show the history of an image
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## SEE ALSO
|
2017-07-10 00:33:50 +00:00
|
|
|
kpod(1), crio(8), crio.conf(5)
|
|
|
|
|
2017-07-29 17:26:21 +00:00
|
|
|
## HISTORY
|
2017-07-10 00:33:50 +00:00
|
|
|
July 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
|