Skip to content

Instantly share code, notes, and snippets.

@IvanCl4udio
Last active October 2, 2023 14:29
Show Gist options
  • Save IvanCl4udio/6a1c4bb4a7bc588e04470956530e3816 to your computer and use it in GitHub Desktop.
Save IvanCl4udio/6a1c4bb4a7bc588e04470956530e3816 to your computer and use it in GitHub Desktop.
How install CRI-O on Ubuntu 22.04 LTS

How install CRI-O on Ubuntu 22.04 LTS

OS=Debian_11

CRIO_VERSION=1.23

echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list

echo "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$CRIO_VERSION/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$CRIO_VERSION.list

curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:$CRIO_VERSION/$OS/Release.key | sudo apt-key add -

curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | sudo apt-key add -

sudo apt update
sudo apt upgrade

sudo apt install cri-o cri-o-runc

sudo systemctl start crio.service

sudo systemctl enable crio.service

systemctl status crio

sudo apt install cri-tools

sudo crictl pull hello-world

sudo crictl images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment