Hoofungson's Tech Blog
Search
Switch languageEnglish
Open menu

Installing Containerd: the YUM Way

Installing containerd on openEuler from Docker's official YUM repository, enabling it at boot, and verifying the version afterwards.

On this page10 sections

1. Environment

1.1 Host specification

Name OS CPU Memory Private IP Public IP
ECS openEuler 22.03 LTS SP3 2 cores 2GB 192.0.2.18 203.0.113.222

1.2 Versions

Name Version Notes
Containerd 1.4.12 –

2. Installation

2.1 Add the Alibaba Cloud YUM repository

[root@localhost]# wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

2.2 See what the repository offers

[root@localhost]# yum list | grep containerd
containerd.io.x86_64       1.4.12-3.1.el7         docker-ce-stable

2.3 Install the package

[root@localhost]# yum -y install containerd.io

2.4 Enable it at boot

[root@localhost]# systemctl enable containerd

2.5 Start the service

[root@localhost]# systemctl start containerd

2.6 Verify

[root@localhost]# ctr version
Client:
  Version:  1.4.12
 
Server:
  Version:  1.4.12

Further reading on the same topic.

Installing Containerd: the Binary Way

Installing containerd 1.7 and runC from the cri-containerd-cni tarball: where each unpacked file goes, how the systemd unit is installed, and how to adjust the default config.toml and registry mirrors.

4 min readOperations

Setting Up Containerd + K8S (v1.26.15)

Building a K8S v1.26.15 cluster from scratch with containerd on Alibaba Cloud Linux: host and kernel preparation, ipvs and bridge parameters, kubeadm initialization and node join, plus offline image handling for the Calico network.

3 min readOperations

Comments