Skip to content

Instantly share code, notes, and snippets.

@IvanCl4udio
Last active December 12, 2024 14:05
Show Gist options
  • Save IvanCl4udio/845cb1ed50b16e154336094ada75e8f9 to your computer and use it in GitHub Desktop.
Save IvanCl4udio/845cb1ed50b16e154336094ada75e8f9 to your computer and use it in GitHub Desktop.
Install CRI-O on Debian 11

How install CRI-O on Debian 11

# Create a variable with version of OS and CRIO accordingly
OS=Debian_11
CRIO_VERSION=1.24

# Add repos list
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

# Get Keys
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 -

# Update and Upgrade
sudo apt update
sudo apt upgrade

# Install CRIO
sudo apt install cri-o cri-o-runc

# Enable and Start CRIO service
sudo systemctl enable crio.service

sudo systemctl start crio.service
@haruchi818
Copy link

dope!

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