crictl
Manage CRI-compatible container runtimes. More information: https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md.
- List all Kubernetes pods (Ready and NotReady):
crictl pods
- List all containers (Running and Exited):
crictl ps
- List all images:
crictl images
- Print information about specific containers:
crictl inspect
- Open a specific shell inside a running container:
crictl exec
- Pull a specific image from a registry:
crictl pull
- Print and follow logs of a specific container:
crictl logs
- Remove one or more images:
crictl rmi
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
