Sebastiaan van Stijn
4a71ce02e6
cli/command/image: remove redundant capturing of loop vars (copyloopvar)
...
go1.22 and up now produce a unique variable in loops, tehrefore no longer
requiring to capture the variable manually;
cli/command/image/tree.go:59:4: The copy of the 'for' variable "im" can be deleted (Go 1.22+) (copyloopvar)
im := im
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-05 10:14:31 +01:00
Sebastiaan van Stijn
56d0af783c
Merge pull request #5474 from docker/change_to_inuse
...
Images Tree: Change 'Used' to 'In Use'
2024-09-24 10:37:17 +02:00
Brian Goff
df52ddcfcc
Images Tree: Change 'Used' to 'In Use'
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2024-09-23 11:26:42 -07:00
Djordje Lukic
17040890e4
Do not underline image name
...
Blue text with underline looks too much as a hyperlink I can click on
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2024-09-23 15:36:18 +02:00
Paweł Gronowski
7b91647943
list/tree: No extra spacing for graphdriver
...
Don't output the extra spacing around the images when none of the
top-level image entries has any children.
This makes the list look better when ran against the graphdrivers image
store.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-19 12:09:37 +02:00
Paweł Gronowski
351249dce9
list/tree: Print <untagged> as dangling image name
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 16:36:33 +02:00
Paweł Gronowski
6979ab073c
list/tree: Fix some escape codes included in nonTTY
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 16:35:46 +02:00
Paweł Gronowski
a9b78da546
list/tree: Add spacing before the content and first image
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:10:00 +02:00
Paweł Gronowski
0242a1e3c6
list/tree: Capitalize column headers
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:59 +02:00
Paweł Gronowski
d417d06682
list/tree: Add an experimental warning
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:57 +02:00
Paweł Gronowski
b1a08f7841
list/tree: Sort by created date
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:55 +02:00
Paweł Gronowski
18ab78882c
list/tree: Align number right, text left
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:54 +02:00
Paweł Gronowski
ea8aafcd9e
cli/tree: Add `Content size` column
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:52 +02:00
Paweł Gronowski
be11b74ee9
image/list: Add `--tree` flag
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 15:09:51 +02:00