Description
When content of ~/.docker/config.json contains an override for imagesFormat, the docker images command still uses the "pretty" format.
Reproduce
- Install Docker CLI v29
- add this content to
~/.docker/config.json
{
"imagesFormat": "table"
}
- run
docker pull hello-world && echo "==========" && docker images
- observe "pretty" format
i Info → U In Use
IMAGE ID DISK USAGE CONTENT SIZE EXTRA
hello-world:latest 1b44b5a3e06a 10.1kB 0B
Expected behavior
Format of docker images output should match this:
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest 1b44b5a3e06a 3 months ago 10.1kB
docker version
Client: Docker Engine - Community
Version: 29.0.2
API version: 1.52
Go version: go1.25.4
Git commit: 8108357
Built: Mon Nov 17 12:36:06 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 29.0.2
API version: 1.52 (minimum version 1.44)
Go version: go1.25.4
Git commit: e9ff10b
Built: Mon Nov 17 12:32:51 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.1.5
GitCommit: fcd43222d6b07379a4be9786bda52438f0dd16a1
runc:
Version: 1.3.3
GitCommit: v1.3.3-0-gd842d771
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Additional Info
No response
Description
When content of
~/.docker/config.jsoncontains an override forimagesFormat, thedocker imagescommand still uses the "pretty" format.Reproduce
~/.docker/config.json{ "imagesFormat": "table" }docker pull hello-world && echo "==========" && docker imagesExpected behavior
Format of
docker imagesoutput should match this:docker version
Client: Docker Engine - Community Version: 29.0.2 API version: 1.52 Go version: go1.25.4 Git commit: 8108357 Built: Mon Nov 17 12:36:06 2025 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 29.0.2 API version: 1.52 (minimum version 1.44) Go version: go1.25.4 Git commit: e9ff10b Built: Mon Nov 17 12:32:51 2025 OS/Arch: linux/amd64 Experimental: false containerd: Version: v2.1.5 GitCommit: fcd43222d6b07379a4be9786bda52438f0dd16a1 runc: Version: 1.3.3 GitCommit: v1.3.3-0-gd842d771 docker-init: Version: 0.19.0 GitCommit: de40ad0docker info
Additional Info
No response