インストール
事前準備。
$ yum install -y yum-utils device-mapper-persistent-data lvm2 $ yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo $ yum update -y && yum install -y containerd.io $ containerd config default | tee /etc/containerd/config.toml
起動確認。
# systemctl status containerd ● containerd.service - containerd container runtime Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: https://containerd.io
# systemctl restart containerd
# systemctl status containerd ● containerd.service - containerd container runtime Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled) Active: active (running) since Tue xx Docs: https://containerd.io Process: 5332 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS) Main PID: 5334 (containerd) Tasks: 9 Memory: 20.7M CGroup: /system.slice/containerd.service └─5334 /usr/bin/containerd ...
やったね。