<p>how to using crictl to get the dangling images? The server was not install docker right now. is it possible to using crictl to get the dangling images? I have tried to using this command:</p>
<pre><code>crictl images
</code></pre>
<p>but could not recognized which images could be remove.</p>

<p>It is not possible to get the dangling images using crictl.Safest and easiest way to clean up dangling images is by using <a href="https://stackoverflow.com/questions/45142528/what-is-a-dangling-image-and-what-is-an-unused-image">docker</a>.</p>
<p>You can use the <code>$ docker image prune</code> command which allows you to clean up unused images. By default, docker image prune only cleans up dangling imagesBy default, docker image prune only cleans up dangling images.</p>
<p>Try listing your images with <code>crictl images</code> and if you want to remove all unused images run the below command:</p>
<pre><code>crictl rmi --prune
</code></pre>
<p>You need a rather current crictl for that. From the help:</p>
<pre><code>$ crictl rmi --help
NAME:
 crictl rmi - Remove one or more images

USAGE:
 crictl rmi [command options] IMAGE-ID [IMAGE-ID...]

OPTIONS:
 --all, -a    Remove all images (default: false)
 --prune, -q  Remove all unused images (default: false)
 --help, -h   show help (default: false)
</code></pre>
<p>Refer to the <a href="https://stackoverflow.com/questions/69981852/how-to-use-local-docker-images-in-kubernetes-deployments-not-minikube">stackpost</a> for more information.</p>
