crictl Command Examples

Command-line for CRI-compatible container runtimes. More information: https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md.

crictl pods

crictl ps --all

crictl images

crictl inspect {{container_id1 container_id2 ...}}

crictl exec -it {{container_id}} {{sh}}

crictl pull {{image:tag}}

crictl logs -f {{container_id}}

crictl rmi {{image_id1 image_id2 ...}}