Skip to content

[BUG] docker compose images --format json is missing the ContainerName field compared to 2.36.x #12940

Closed
@felixfontein

Description

@felixfontein

Description

2.36.x's docker compose images --format json contained the ContainerName field; since 2.37.1 it does not contain this field anymore, but it does contain Platform which wasn't there before.

(I apparently mislooked in #12916 (comment); while #12917 restored the list output, it did not restore the ContainerName field.)

The ContainerName information has been removed in #12856 (which caused the breaking change for 2.37.0 that got reverted in #12917).

While the field was actively removed in #12856, there has been no announcement in the changelog of this breaking change, so I'm reporting this as a bug.

Steps To Reproduce

Run docker compose images --format json with 2.36.x and 2.37.1 or main.

Compose Version

2.37.1 / `main` branch

Docker Environment


Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions