Skip to content

Expose platform in docker ps #47764

@vvoland

Description

@vvoland

Description

When multiple containers are started from the same multi-platform image, but with different platforms, there's no way to distinguish them in the docker ps output:

Reproduce

$ docker run -d --platform linux/amd64 nginx
$ docker run -d --platform linux/arm64 nginx

$ docker ps
CONTAINER ID   IMAGE     COMMAND                  CREATED          STATUS          PORTS     NAMES
37263e2e3b85   nginx     "/docker-entrypoint.…"   10 seconds ago   Up 9 seconds    80/tcp    silly_shannon
5abe550e5766   nginx     "/docker-entrypoint.…"   31 seconds ago   Up 29 seconds   80/tcp    laughing_robinson

Expected behavior

The containers running different platform variants of an image should be distinguishable in the docker ps output

docker version

26.1.0

docker info

-

Additional Info

No response

Metadata

Metadata

Assignees

Labels

area/imagesImage Distributionarea/uxcontainerd-integrationIssues and PRs related to containerd integrationkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions