cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open ag-TJNII opened this issue 3 months ago • 1 comments

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!

ag-TJNII avatar Nov 21 '25 16:11 ag-TJNII

I’m interested in contributing. Is this feature request open for external contributors? Any pointers on where to start?

Wait for maintainers to respond.

Syedowais312 avatar Dec 01 '25 16:12 Syedowais312