"Fossies" - the Fresh Open Source Software Archive

Member "cri-o-1.25.1/tutorials/install-distro.md" (7 Oct 2022, 4248 Bytes) of package /linux/misc/cri-o-1.25.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.

Install with Package Managers

CRI-O builds for native package managers using openSUSE's OBS

Supported Versions

Below is a compatiblity matrix between versions of CRI-O (y-axis) and distributions (x-axis)

Fedora 31+ openSUSE CentOS_8 CentOS_8_Stream CentOS_7 Debian_Unstable Debian_Testing Debian 10 Rasbian_10 xUbuntu_20.04 xUbuntu_19.10 xUbuntu_19.04 xUbuntu_18.04

To install, choose a supported version for your operating system, and export it as a variable, like so: export VERSION=1.18

We also save releases as subprojects. If you'd, for instance, like to use 1.18.3 you can set export VERSION=1.18:1.18.3

Installation Instructions


sudo zypper install cri-o

Fedora 31 or later

sudo dnf module enable cri-o:$VERSION
sudo dnf install cri-o

For Fedora, we only support setting minor versions. i.e: VERSION=1.18, and do not support pinning patch versions: VERSION=1.18.3

Other yum based operating systems

To install on the following operating systems, set the environment variable $OS as the appropriate field in the following table:

Operating system $OS
Centos 8 CentOS_8
Centos 8 Stream CentOS_8_Stream
Centos 7 CentOS_7

And then run the following as root:

curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/devel:kubic:libcontainers:stable.repo
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:$VERSION/$OS/devel:kubic:libcontainers:stable:cri-o:$VERSION.repo
yum install cri-o

Apt based operating systems

Note: this tutorial assumes you have curl and gnupg installed

To install on the following operating systems, set the environment variable $OS as the appropriate field in the following table: | Operating system | $OS | | ---------------- | ----------------- | | Debian Unstable | Debian_Unstable | | Debian Testing | Debian_Testing | | Ubuntu 20.04 | xUbuntu_20.04 | | Ubuntu 19.10 | xUbuntu_19.10 | | Ubuntu 19.04 | xUbuntu_19.04 | | Ubuntu 18.04 | xUbuntu_18.04 |

And then run the following as root:

echo "deb [signed-by=/usr/share/keyrings/libcontainers-archive-keyring.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
echo "deb [signed-by=/usr/share/keyrings/libcontainers-crio-archive-keyring.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.list

mkdir -p /usr/share/keyrings
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-archive-keyring.gpg
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-crio-archive-keyring.gpg

apt-get update
apt-get install cri-o