crictl exec -it 3f8d9c2a1b4e sh

Category: Kubernetes & Containers

crictl exec -it 3f8d9c2a1b4e sh

Exec into a container on the node

Runs sh inside the container directly through the runtime, bypassing the API server and kubelet. A lifesaver when the node is not registered with the cluster. List container IDs with crictl ps.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.