Skip to content

Instantly share code, notes, and snippets.

@nanox
Forked from IvanCl4udio/Howto.md
Last active June 5, 2025 03:11
Show Gist options
  • Save nanox/2f75f154dbda7b7e00efcb1355e34d7e to your computer and use it in GitHub Desktop.
Save nanox/2f75f154dbda7b7e00efcb1355e34d7e 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=xUbuntu_22.04

CRIO_VERSION=1.24

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