Skip to content

Instantly share code, notes, and snippets.

@nanox
Forked from IvanCl4udio/Howto.md
Last active July 2, 2025 02:09
Show Gist options
  • Save nanox/8e7b2fed4a2bfb64e87dc3ef8f644668 to your computer and use it in GitHub Desktop.
Save nanox/8e7b2fed4a2bfb64e87dc3ef8f644668 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