Skip to content

Commit 06029f5

Browse files
Update CRI-O installation guide (#19568)
CRI-O now uses a different location for their repositories which also supports further distributions. Signed-off-by: Sascha Grunert <[email protected]>
1 parent 97849f9 commit 06029f5

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

content/en/docs/setup/production-environment/container-runtimes.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,27 +184,48 @@ sysctl --system
184184
```
185185

186186
{{< tabs name="tab-cri-cri-o-installation" >}}
187-
{{< tab name="Ubuntu 16.04" codelang="bash" >}}
187+
{{< tab name="Debian" codelang="bash" >}}
188+
# Debian Unstable/Sid
189+
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Unstable/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
190+
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_Unstable/Release.key -O- | sudo apt-key add -
188191

189-
# Install prerequisites
190-
apt-get update
191-
apt-get install -y software-properties-common
192+
# Debian Testing
193+
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
194+
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_Testing/Release.key -O- | sudo apt-key add -
195+
196+
# Debian 10
197+
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
198+
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O- | sudo apt-key add -
192199

193-
add-apt-repository ppa:projectatomic/ppa
194-
apt-get update
200+
# Raspbian 10
201+
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Raspbian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
202+
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Raspbian_10/Release.key -O- | sudo apt-key add -
195203

196204
# Install CRI-O
197-
apt-get install -y cri-o-1.15
205+
sudo apt-get install cri-o-1.17
206+
{{< /tab >}}
207+
208+
{{< tab name="Ubuntu 18.04, 19.04 and 19.10" codelang="bash" >}}
209+
# Setup repository
210+
. /etc/os-release
211+
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
212+
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O- | sudo apt-key add -
213+
sudo apt-get update
198214

215+
# Install CRI-O
216+
sudo apt-get install cri-o-1.17
199217
{{< /tab >}}
200-
{{< tab name="CentOS/RHEL 7.4+" codelang="bash" >}}
201218

219+
{{< tab name="CentOS/RHEL 7.4+" codelang="bash" >}}
202220
# Install prerequisites
203221
yum-config-manager --add-repo=https://cbs.centos.org/repos/paas7-crio-115-release/x86_64/os/
204222

205223
# Install CRI-O
206224
yum install --nogpgcheck -y cri-o
225+
{{< /tab >}}
207226

227+
{{< tab name="openSUSE Tumbleweed" codelang="bash" >}}
228+
sudo zypper install cri-o
208229
{{< /tab >}}
209230
{{< /tabs >}}
210231

0 commit comments

Comments
 (0)