openEuler安装cri-dockerd-0.3.14

发布于 2024-06-24  166 次阅读


  1. git clone cri-dockerd文件
yum install git -y
git clone https://github.com/Mirantis/cri-dockerd.git
# 文件会同步到 cri-dockerd 文件夹下
  1. 下载cri-dockerd
wget https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.14/cri-dockerd-0.3.14.amd64.tgz

解压

tar xzvf cri-dockerd-0.3.14.amd64.tgz
# 文件会解压到 cri-dockerd 文件夹下
  1. 安装
cd cri-dockerd
install -o root -g root -m 0755 cri-dockerd /usr/local/bin/cri-dockerd
install packaging/systemd/* /etc/systemd/system
sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service
systemctl daemon-reload
systemctl enable --now cri-docker.socket
systemctl start cri-docker
  1. 检查状态
systemctl status cri-docker