Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Architecture option to "docker images" list #3060

Open
ericsmalling opened this issue Apr 22, 2021 · 2 comments
Open

Add Architecture option to "docker images" list #3060

ericsmalling opened this issue Apr 22, 2021 · 2 comments
Labels

Comments

@ericsmalling
Copy link

Description
Please add the ability to see the architecture for images in the cache via docker images / docker image ls.

Even if it's just an additional --format field, that would be valuable

@BretFisher
Copy link
Contributor

I agree with this! On an arm device, like a Apple M1, it's confusing what docker is picking for arm vs. amd64 images. I just had a case where I was accidentally using a amd64 image on arm64 because I had previously pulled that specific platform and forgot it was different... then docker just defaults to your last pulled platform for that tag.

To me, platform is just part of the image name (repo name + tag + platform), and it should be viewable without needing a inspect command.

Bonus points if there's an asterisk if the platform of image <> platform of dockerd, to highlight where you've manually chosen to emulate.

@sam-thibault
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants