-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-
In the official documentation (https://docs.docker.com/reference/cli/docker/image/ls/), if I want to list the most recent images I should do:
$ docker images
But after Docker version 29.0.0, I get something quite different from the documentation, as shown below:
To get the expected result I need to do:
$ docker image list --format "table {{.Repository}}\t{{.Tag}}\t{{.ID}}\t{{.CreatedSince}}\t{{.Size}}"
docker-images-format
This behavior is only happening to me.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 5 comments
-
Thanks for reporting! We should update our documentation.
cc @dvdksn
Beta Was this translation helpful? Give feedback.
All reactions
-
👎 3
-
I am not sure if this change of format is a good idea in the first place, it might break some scripts.
Why the change?
Should we expect a similar change with the rest of the commands?
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 5
-
It is not even in the https://docs.docker.com/engine/release-notes/29/
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2 -
👀 2
-
Quite frankly, I think the new format is terrible. I do not need to see whether the image is in use or not w/this strange "usage" key map on the right, but it is very useful to see the relative created at timestamp, for example. "Content size" and "Extra" are not very useful additions.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 6
-
The new "content size" always appears to be 0B?
Also not a fan of removing the "created/created since" info which was useful to me.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2