Skip to content

Parameters are available in an inconsistent way (e.g. human, no-trunc) #5300

Description

@Scal-Human

Description

Trying to automate information manipulation using docker cli is complicate as parameters such as human=false or no-trunc are not available consistently.
To give some examples:

  1. image history
  2. image inspect
  3. image ls
  4. system df
  • human=false is available on 1 but not 2, 3 and 4, forcing to parse a formatted value
  • no-trunc is required to have complete ID's in 1 and 3 while not needed in 2 and 4
    In addition UniqueSize reported by 4 is often 0 as shown in the excerpt below (the first value after "image" is supposed to be the UniqueSize).
    Images-Excerpt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions