Getting this error when i invoke kubeadm init in rhel 8 with docker container

Hi i setting up prod clusters for rhel 8 x86-64 with docker i a getting this error when i invoke kubeadm init command
Error:
kubeadm init
[init] Using Kubernetes version: v1.28.4
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: time=“2023-11-24T15:16:56Z” level=fatal msg=“validate service connection: validate CRI v1 runtime API for endpoint "unix:///var/run/containerd/containerd.sock": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService”
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher

is there any way we can solve this ?

In the error, it says:

[ERROR CRI]: container runtime is not running

So:

  1. Have you installed a container runtime (e.g., containerd)?
  2. If you have, you might need to run kubeadm init as root.