STEP 2. Containerd Installation

  1. Install yum-utils:
    yum install -y yum-utils
  2. Add Docker CE Repository:
    dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo 
  3. Install Containerd:
    yum install -y containerd.io
  4. Generate the Default Containerd Configuration File:
    containerd config default | tee /etc/containerd/config.toml >/dev/null 2>&1
  5. Configure Containerd to Use the systemd Cgroup Driver:
    sed -i 's/SystemdCgroup = false/SystemdCgroup = true/g' /etc/containerd/config.toml 
  6. Restart the Containerd Service:
    systemctl restart containerd
    systemctl status containerd --no-pager
    systemctl enable containerd