Change:
```shell sudo zypper install cri-o ``` {{% /tab %}} {{% tab name="Fedora" %}} <del> <!-- </del> <ins> <!-- </ins> Set `$VERSION` to the CRI-O version that matches your Kubernetes version. <del> For instance, if you want to install CRI-O 1.18, `VERSION=1.18` </del> <ins> For instance, if you want to install CRI-O 1.18, `VERSION=1.18`. </ins> You can find available versions with: ```shell <del> dnf module list cri-o </del> <ins> sudo dnf module list cri-o </ins> ``` CRI-O does not support pinning to specific releases on Fedora. Then run ```shell <del> dnf module enable cri-o:$VERSION dnf install cri-o </del> <ins> sudo dnf module enable cri-o:$VERSION sudo dnf install cri-o </ins> ``` --> 将 `$VERSION` 设置为与你的 Kubernetes 相匹配的 CRI-O 版本。 例如，如果要安装 CRI-O 1.18，请设置 `VERSION=1.18`。 你可以用下列命令查找可用的版本： ```shell <del> dnf module list cri-o </del> <ins> sudo dnf module list cri-o </ins> ``` CRI-O 不支持在 Fedora 上固定到特定的版本。 <del> 运行下列命令安装 </del> <ins> 然后执行 </ins> ```shell <del> dnf module enable cri-o:$VERSION dnf install cri-o </del> <ins> sudo dnf module enable cri-o:$VERSION sudo dnf install cri-o </ins> ``` {{% /tab %}} {{< /tabs >}} <del> <!-- ### Start CRI-O </del> <ins> <!-- Start CRI-O: </ins> <del> ``` systemctl daemon-reload systemctl start crio </del> <ins> ```shell sudo systemctl daemon-reload sudo systemctl start crio </ins> ``` Refer to the [CRI-O installation guide](https://github.com/kubernetes-sigs/cri-o#getting-started) for more information. <del> --> ### 启动 CRI-O ``` systemctl start crio ``` 请参阅 [CRI-O 安装指南](https://github.com/kubernetes-sigs/cri-o#getting-started) 来获取更多的信息。 <!-- ## Containerd This section contains the necessary steps to use `containerd` as CRI runtime. Use the following commands to install Containerd on your system: ### Prerequisites </del> <ins> --> 启动 CRI-O: </ins> ```shell <del> cat > /etc/modules-load.d/containerd.conf <<EOF overlay br_netfilter EOF modprobe overlay modprobe br_netfilter </del> <ins> sudo systemctl daemon-reload sudo systemctl start crio ``` </ins> <del> # Setup required sysctl params, these persist across reboots. cat > /etc/sysctl.d/99-kubernetes-cri.conf <<EOF net.bridge.bridge-nf-call-iptables  = 1 net.ipv4.ip_forward                 = 1 net.bridge.bridge-nf-call-ip6tables = 1 EOF </del> <ins> 更多信息请参阅 [CRI-O 安装指南](https://github.com/kubernetes-sigs/cri-o#getting-started)。 </ins> <del> sysctl --system ``` --> ## containerd 本节包含使用 `containerd` 作为 CRI 运行时的必要步骤。 使用以下命令在系统上安装容器： </del> <ins> ### Docker </ins> <del> ### 准备环境 </del> <ins> <!-- On each of your nodes, install Docker CE. </ins> <del> ```shell cat > /etc/modules-load.d/containerd.conf <<EOF overlay br_netfilter EOF </del> <ins> The Kubernetes release notes list which versions of Docker are compatible with that version of Kubernetes. </ins> <del> modprobe overlay modprobe br_netfilter </del> <ins> Use the following commands to install Docker on your system: --> 在你每个节点上安装 Docker CE. </ins> <del> # 设置必需的sysctl参数，这些参数在重新启动后仍然存在。 cat > /etc/sysctl.d/99-kubernetes-cri.conf <<EOF net.bridge.bridge-nf-call-iptables  = 1 net.ipv4.ip_forward                 = 1 net.bridge.bridge-nf-call-ip6tables = 1 EOF </del> <ins> Kubernetes 发行说明中列出了 Docker 的哪些版本与该版本的 Kubernetes 相兼容。 </ins> <del> sysctl --system ``` </del> <ins> 在你的操作系统上使用如下命令安装 Docker: </ins> <del> <!-- ### Install containerd --> ### 安装 containerd </del> <ins> {{< tabs name="tab-cri-docker-installation" >}} {{% tab name="Ubuntu 16.04+" %}} </ins> <del> {{< tabs name="tab-cri-containerd-installation" >}} {{% tab name="Ubuntu 16.04" %}} </del> <!-- ```shell <del> # Install containerd ## Set up the repository </del> <ins> # (Install Docker CE) ## Set up the repository: </ins> ### Install packages to allow apt to use a repository over HTTPS <del> apt-get update && apt-get install -y apt-transport-https ca-certificates curl software-properties-common </del> <ins> sudo apt-get update && sudo apt-get install -y  apt-transport-https ca-certificates curl software-properties-common gnupg2 </ins> ``` ```shell <del> ### Add Docker’s official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - </del> <ins> # Add Docker's official GPG key: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add --keyring /etc/apt/trusted.gpg.d/docker.gpg - </ins> ``` <ins> --> </ins> ```shell <del> ### Add Docker apt repository. add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(lsb_release -cs)  stable" </del> <ins> # (安装 Docker CE) ## 设置仓库: ### 安装软件包以允许 apt 通过 HTTPS 使用存储库 sudo apt-get update && sudo apt-get install -y  apt-transport-https ca-certificates curl software-properties-common gnupg2 </ins> ``` ```shell <del> ## Install containerd apt-get update && apt-get install -y containerd.io </del> <ins> ### 新增 Docker 的 官方 GPG 秘钥: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add --keyring /etc/apt/trusted.gpg.d/docker.gpg - </ins> ``` <ins> <!-- </ins> ```shell <del> # Configure containerd mkdir -p /etc/containerd containerd config default > /etc/containerd/config.toml </del> <ins> # Add the Docker apt repository: sudo add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(lsb_release -cs)  stable" </ins> ``` <del> --> </del> ```shell <del> # 安装 containerd ## 设置仓库 ### 安装软件包以允许 apt 通过 HTTPS 使用存储库 apt-get update && apt-get install -y apt-transport-https ca-certificates curl software-properties-common </del> <ins> # Install Docker CE sudo apt-get update && sudo apt-get install -y  containerd.io=1.2.13-2  docker-ce=5:19.03.11~3-0~ubuntu-$(lsb_release -cs)  docker-ce-cli=5:19.03.11~3-0~ubuntu-$(lsb_release -cs) </ins> ``` ```shell <del> ### 安装 Docker 的官方 GPG 密钥 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - </del> <ins> # Set up the Docker daemon cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2" } EOF </ins> ``` ```shell <del> ### 新增 Docker apt 仓库。 add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(lsb_release -cs)  stable" </del> <ins> # Create /etc/systemd/system/docker.service.d sudo mkdir -p /etc/systemd/system/docker.service.d ``` --> ```shell ### 添加 Docker apt 仓库: sudo add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(lsb_release -cs)  stable" </ins> ``` ```shell <del> ## 安装 containerd apt-get update && apt-get install -y containerd.io </del> <ins> ## 安装 Docker CE sudo apt-get update && sudo apt-get install -y  containerd.io=1.2.13-2  docker-ce=5:19.03.11~3-0~ubuntu-$(lsb_release -cs)  docker-ce-cli=5:19.03.11~3-0~ubuntu-$(lsb_release -cs) </ins> ``` ```shell <del> # 配置 containerd mkdir -p /etc/containerd containerd config default > /etc/containerd/config.toml </del> <ins> # 设置 Docker daemon cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2" } EOF </ins> ``` <del> <!-- </del> ```shell <del> # Restart containerd systemctl restart containerd </del> <ins> # Create /etc/systemd/system/docker.service.d sudo mkdir -p /etc/systemd/system/docker.service.d </ins> ``` <ins> <!-- # Restart docker. systemctl daemon-reload systemctl restart docker </ins> --> ```shell <del> # 重启 containerd systemctl restart containerd </del> <ins> # 重启 docker. sudo systemctl daemon-reload sudo systemctl restart docker </ins> ``` <del> {{< /tab >}} </del> <ins> {{% /tab %}} </ins> {{% tab name="CentOS/RHEL 7.4+" %}} <!-- ```shell <del> # Install containerd </del> <ins> # (Install Docker CE) </ins> ## Set up the repository ### Install required packages <del> yum install yum-utils device-mapper-persistent-data lvm2 </del> <ins> sudo yum install -y yum-utils device-mapper-persistent-data lvm2 </ins> ``` ```shell <del> ### Add docker repository yum-config-manager  --add-repo  https://download.docker.com/linux/centos/docker-ce.repo </del> <ins> ## Add the Docker repository sudo yum-config-manager --add-repo  https://download.docker.com/linux/centos/docker-ce.repo </ins> ``` ```shell <del> ## Install containerd yum update && yum install containerd.io </del> <ins> # Install Docker CE sudo yum update -y && sudo yum install -y  containerd.io-1.2.13  docker-ce-19.03.11  docker-ce-cli-19.03.11 </ins> ``` ```shell <del> # Configure containerd mkdir -p /etc/containerd containerd config default > /etc/containerd/config.toml </del> <ins> ## Create /etc/docker sudo mkdir /etc/docker </ins> ``` <del> --> </del> ```shell <del> # 安装 containerd ## 设置仓库 ### 安装所需包 yum install yum-utils device-mapper-persistent-data lvm2 </del> <ins> # Set up the Docker daemon cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ] } EOF </ins> ``` ```shell <del> ### 新增 Docker 仓库 yum-config-manager  --add-repo  https://download.docker.com/linux/centos/docker-ce.repo </del> <ins> # Create /etc/systemd/system/docker.service.d sudo mkdir -p /etc/systemd/system/docker.service.d </ins> ``` <ins> --> </ins> ```shell <del> ## 安装 containerd yum update && yum install containerd.io </del> <ins> # (安装 Docker CE) ## 设置仓库 ### 安装所需包 sudo yum install -y yum-utils device-mapper-persistent-data lvm2 </ins> ``` ```shell <del> # 配置 containerd mkdir -p /etc/containerd containerd config default > /etc/containerd/config.toml </del> <ins> ### 新增 Docker 仓库 sudo yum-config-manager --add-repo  https://download.docker.com/linux/centos/docker-ce.repo </ins> ``` <del> <!-- </del> ```shell <del> # Restart containerd systemctl restart containerd </del> <ins> ## 安装 Docker CE sudo yum update -y && sudo yum install -y  containerd.io-1.2.13  docker-ce-19.03.11  docker-ce-cli-19.03.11 </ins> ``` <del> --> </del> ```shell <del> # 重启 containerd systemctl restart containerd </del> <ins> ## 创建 /etc/docker 目录 sudo mkdir /etc/docker </ins> ``` <del> {{% /tab %}} {{% tab name="Windows/(PowerShell)" %}} ```powershell # （安装 containerd ） # 下载 contianerd cmd /c curl -OL https://github.com/containerd/containerd/releases/download/v1.4.0-beta.2/containerd-1.4.0-beta.2-windows-amd64.tar.gz cmd /c tar xvf .containerd-1.4.0-beta.2-windows-amd64.tar.gz </del> <ins> ```shell # 设置 Docker daemon cat <<EOF | sudo tee /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ] } EOF </ins> ``` <del> ```powershell # 添加开机启动 Copy-Item -Path ".bin" -Destination "C:Program Filescontainerd" -Recurse -Force cd C:Program Filescontainerd .containerd.exe config default | Out-File config.toml -Encoding ascii # 检查配置文件主要看以下三个参数 # sandbox_image 的镜像地址 # CNI 的 bin_dir 和 conf_dir 路径 Get-Content config.toml </del> <ins> ```shell # Create /etc/systemd/system/docker.service.d sudo mkdir -p /etc/systemd/system/docker.service.d </ins> ``` <del> ```powershell # containerd 注册服务 .containerd.exe --register-service # 启动 containerd Start-Service containerd </del> <ins> <!-- # Restart Docker systemctl daemon-reload systemctl restart docker --> ```shell # 重启 Docker sudo systemctl daemon-reload sudo systemctl restart docker </ins> ``` {{% /tab %}} <del> {{< /tabs >}} </del> <ins> {{% /tabs %}} </ins> <!-- <del> ```shell ### systemd {#containerd-systemd} To use the `systemd` cgroup driver in `/etc/containerd/config.toml` with `runc`, set ``` [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] ... [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] SystemdCgroup = true ``` When using kubeadm, manually configure the [cgroup driver for kubelet](/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node) ## Other CRI runtimes: frakti Refer to the [Frakti QuickStart guide](https://github.com/kubernetes/frakti#quickstart) for more information. ``` </del> <ins> If you want the docker service to start on boot, run the following command: </ins> --> <del> ### systemd {#containerd-systemd} </del> <ins> 如果你想开机即启动 docker 服务，执行以下命令： </ins> <del> 使用 `systemd` cgroup 驱动，在 `/etc/containerd/config.toml` 中设置 ``` [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] ... [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] SystemdCgroup = true </del> <ins> ```shell sudo systemctl enable docker </ins> ``` <del> 当使用 kubeadm 时，请手动配置 [kubelet 的 cgroup 驱动](/zh/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#configure-cgroup-driver-used-by-kubelet-on-master-node) ## 其他的 CRI 运行时：frakti 请参阅 [Frakti 快速开始指南](https://github.com/kubernetes/frakti#quickstart) 来获取更多的信息。 </del> <ins> <!-- Refer to the [official Docker installation guides](https://docs.docker.com/engine/installation/) for more information. --> 请参阅 [官方 Docker 安装指南](https://docs.docker.com/engine/installation/) 来获取更多的信息。 </ins>  No newline at end of file

Discussion:
With # merged, we are unable to track the changes to the in the English version. So this page needs a resync manually. /language zh
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the label. The label can be by org members by writing in a comment. <detailsInstructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
I'm gonna fixing this one if no other people working on this. /assign
Thank you very much,