CentOS 7 | CentOS_8 |
CentOS 8 stream | CentOS_8_Stream |
CentOS 7 | CentOS_7 |
$VERSION 을 설치하고자 하는 CRI-O 버전으로 변경한다.
OS=CentOS_8
VERSION=1.18
sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:1.18.repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:1.18/CentOS_8/devel:kubic:libcontainers:stable:cri-o:$VERSION.repo
"># yum install -y cri-o buildah podman skepo
dnf install -y cri-o buildah podman skepo
cri-o | Container runtime |
Podman | API |
buildah | image builder |
skepo | image server |
# Cgroup management implementation used for the runtime.
# 기본 값은 systemd 이므로 굳이 수정할 필요는 없다. cgroupfs 등을 사용해야 하는 경우에 수정한다.
cgroup_manager = "systemd"
아래 내용을 추가한다.
[crio.runtime]
conmon_cgroup = "pod"
cgroup_manager = "cgroupfs"