Skip to content

Docker CLI v29 does not use "imagesFormat" override in config file #6663

Description

@calenjackman

Description

When content of ~/.docker/config.json contains an override for imagesFormat, the docker images command still uses the "pretty" format.

Reproduce

  1. Install Docker CLI v29
  2. add this content to ~/.docker/config.json
{
  "imagesFormat": "table"
}
  1. run docker pull hello-world && echo "==========" && docker images
  2. 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

n/a

Additional Info

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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