CRI-O + CRUN

cri-o crun

Install CRUN

Download the latest release and put it on /opt/bin.

wget -O /opt/bin/crun https://github.com/containers/crun/releases/download/1.6/crun-1.6-linux-amd64

Install CRI-O

Download the latest release and untar it. Use the install script with the following configuration:

export BINDIR=/opt/bin
export SYSTEMDDIR=/etc/systemd/system
export OCIDIR=/etc
export PREFIX=/tmp
./install

Then you need to update some files

sed -i 's/\/usr\/local\/bin\/crio/\/opt\/bin\/crio/' /etc/systemd/system/crio.service

mkdir /etc/systemd/system/crio.service.d /var/lib/crio
cat <<EOF > /etc/systemd/system/crio.service.d/10-use-custom-path.conf
[Service]
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/bin"
EOF
cat <<EOF > /etc/containers/registries.conf
[registries.search]
registries = ['registry.access.redhat.com', 'registry.fedoraproject.org', 'quay.io', 'docker.io']

[registries.insecure]
registries = []

[registries.block]
registries = []
EOF

Finally start it

systemctl daemon-reload
systemctl enable --now crio