-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed as duplicate of#6663
Copy link
Description
Description
Since 29.0.0 docker image list does not format its output based on the imagesFormat field in ~/docker/config.json.
Reproduce
docker image ls
Displayed columns:
IMAGE, ID, DISK, USAGE, CONTENT, SIZE, EXTRA
cat > ~/.docker/config.json << 'EOF'
{
"imagesFormat": "table {{.ID}}"
}
EOF
docker image ls
No change, the displayed columns are the same.
IMAGE, ID, DISK, USAGE, CONTENT, SIZE, EXTRA
Expected behavior
If the imagesFormat option is specified in the config.json file, the output should be displayed according to the specified formatting settings.
docker version
Client: Docker Engine - Community
Version: 29.0.2
API version: 1.52
Go version: go1.25.4
Git commit: 8108357bcb
Built: Mon Nov 17 10:19:50 2025
OS/Arch: darwin/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:33:35 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
Client: Docker Engine - Community
Version: 29.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.30.1
Path: /usr/local/lib/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: 2.40.3
Path: /usr/local/lib/docker/cli-plugins/docker-compose
Server:
Containers: 6
Running: 3
Paused: 0
Stopped: 3
Images: 39
Server Version: 29.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
/etc/cdi
/var/run/cdi
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: fcd43222d6b07379a4be9786bda52438f0dd16a1
runc version: v1.3.3-0-gd842d771
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.12.57+deb13-amd64
Operating System: Debian GNU/Linux 13 (trixie)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.792GiB
Name: docker-dev
ID: ca5d66a9-368b-492f-b3e3-06dd93080393
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
docker-dev.virtual:5000
127.0.0.0/8
::1/128
Live Restore Enabled: false
Firewall Backend: iptablesAdditional Info
Thank you for your help!