2

Need to add CreateDate column in the below output as like we get in docker images but unable to figure out a good way. --help also doesn't seem to show suitable option to consider for my requirement.

root@ip-10-xx-x-xxx:/home/ubuntu# crictl images --help
NAME:
   crictl images - List images

USAGE:
   crictl images [command options] [REPOSITORY[:TAG]]

OPTIONS:
   --digests                 Show digests (default: false)
   --no-trunc                Show output without truncating the ID (default: false)
   --output value, -o value  Output format, One of: json|yaml|table
   --quiet, -q               Only show image IDs (default: false)
   --verbose, -v             Show verbose info for images (default: false)
   --help, -h                show help (default: false)
   
root@ip-10-xx-x-xxx:/home/ubuntu# crictl images
IMAGE                                                      TAG                 IMAGE ID            SIZE
docker.io/library/mongo                                    latest              dfda7a2cf2734       248MB
docker.io/library/postgres                                 latest              cdbebe091601b       137MB
docker.io/library/ubuntu                                   latest              ba6acccedd292       28.6MB
docker.io/qualys/sensor                                    1.11.0              98a327bec6273       669MB
BMitch
  • 231,797
  • 42
  • 475
  • 450
Ashish khare
  • 110
  • 6

0 Answers0