Openshift doesn’t use docker
as it’s container runtime (In fact kubernetes is deprecating it’s support for docker
in v1.20). Openshift uses CRI-O
as container runtime. Even if no docker tooling available on cluster nodes, you can still debug containers running on cluster nodes with crictl
.
Some examples:
# Get pods
crictl pods
# Pull an image
crictl pull <image>
# Stop running container(s)
crictl stop <container_id>
Full list is here: https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md
If you are confused by the overloaded term of docker
, this article explains what is docker
in the context of kubernetes and also related terms like CRI
, CRI-O
, containerd
, OCI
, runc
, etc. It’s good to know those to be successful in container world 🙂
https://www.tutorialworks.com/difference-docker-containerd-runc-crio-oci/