What happened:
I tried to use crictl images $repository:$tag to test for the presence of a particular image, but the output was all the images rather than just the requested one.
root@fmatest-control-plane:/# crictl images
IMAGE TAG IMAGE ID SIZE
docker.io/kindest/kindnetd v20250214-acbabc1a ee75e27fff91c 35.7MB
docker.io/kindest/local-path-helper v20241212-8ac705d0 b530d82c16da9 2.95MB
...
root@fmatest-control-plane:/# crictl images docker.io/kindest/kindnetd:v20250214-acbabc1a
IMAGE TAG IMAGE ID SIZE
docker.io/kindest/kindnetd v20250214-acbabc1a ee75e27fff91c 35.7MB
docker.io/kindest/local-path-helper v20241212-8ac705d0 b530d82c16da9 2.95MB
...
What you expected to happen:
I expected to get a list containing only the given repository:tag.
How to reproduce it (as minimally and precisely as possible):
Have multiple images. Use crictl images $repo:$tag to ask for just one.
Anything else we need to know?:
root@fmatest-control-plane:/# crictl --version
crictl version 1.32.0
Environment:
- Container runtime or hardware configuration:
kind version 0.27.0 on the host
- Guest OS (e.g:
cat /etc/os-release): Debian GNU/Linux 12 (bookworm)
- Kernel (e.g.
uname -a):
- guest:
Linux fmatest-control-plane 6.6.119-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2025-12-10 08:04:08 aarch64 GNU/Linux
- host:
Darwin mjs13 24.6.0 Darwin Kernel Version 24.6.0: Mon Jan 19 21:56:28 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_ARM64_T6020 arm64
- Others: Kubernetes v1.32.2 in the
kind cluster
What happened:
I tried to use
crictl images $repository:$tagto test for the presence of a particular image, but the output was all the images rather than just the requested one.What you expected to happen:
I expected to get a list containing only the given repository:tag.
How to reproduce it (as minimally and precisely as possible):
Have multiple images. Use
crictl images $repo:$tagto ask for just one.Anything else we need to know?:
Environment:
kindversion 0.27.0 on the hostcat /etc/os-release): Debian GNU/Linux 12 (bookworm)uname -a):Linux fmatest-control-plane 6.6.119-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2025-12-10 08:04:08 aarch64 GNU/LinuxDarwin mjs13 24.6.0 Darwin Kernel Version 24.6.0: Mon Jan 19 21:56:28 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_ARM64_T6020 arm64kindcluster