1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

Merge pull request #6052 from thaJeztah/inspect_completion

inspect: add shell completion, improve flag-description for `--type` and improve validation
This commit is contained in:
Sebastiaan van Stijn
2025-05-06 20:29:54 +02:00
committed by GitHub
3 changed files with 113 additions and 22 deletions

View File

@ -9,7 +9,7 @@ Return low-level information on Docker objects
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom 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 |
| [`-s`](#size), [`--size`](#size) | `bool` | | Display total file sizes if the type is container |
| [`--type`](#type) | `string` | | Return JSON for specified type |
| [`--type`](#type) | `string` | | Only inspect objects of the given type |
<!---MARKER_GEN_END-->