Skip to content

Add --no-trunc and --all equivalent options to the CLI config file #6673

@ag-TJNII

Description

@ag-TJNII

Description

Recently the docker images output was changed. This is annoying to long-time users accustomed to the format at best, and breaking to scripting at worst. Things change, however, and I get that formats need to evolve. However, the new format truncates fields (#6650) and hides images (#6652) by default which I strongly dislike. I prefer to, and often need to see everything. So I'd like to configure my cli to output the way I want, so that way I'm insulated from default changes.

In the Docker CLI docs I see options for formatting: https://docs.docker.com/reference/cli/docker/#configuration-files

However I don't see options to cause commands to default to --no-trunc and --all. I'd like to be able to set these both globally for all commands that support them, and per command like the individual formats.

This will be welcomed by users like me who value stability over features. It will let us pin our outputs the way we want, reducing friction when the CLI team evolves the default command outputs. Thank you!

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