github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/history.md (about) 1 # docker history 2 3 <!---MARKER_GEN_START--> 4 Show the history of an image 5 6 ### Aliases 7 8 `docker image history`, `docker history` 9 10 ### Options 11 12 | Name | Type | Default | Description | 13 |:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 14 | `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates | 15 | `-H`, `--human` | `bool` | `true` | Print sizes and dates in human readable format | 16 | `--no-trunc` | | | Don't truncate output | 17 | `-q`, `--quiet` | | | Only show image IDs | 18 19 20 <!---MARKER_GEN_END--> 21