Last active
August 22, 2021 11:35
-
-
Save islishude/f2b5599a9d356b854501d448acdfe8e5 to your computer and use it in GitHub Desktop.
install containerd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eux | |
set -o pipefail | |
export VERSION=1.5.5 | |
wget https://github.com/containerd/containerd/releases/download/v${VERSION}/cri-containerd-cni-${VERSION}-linux-amd64.tar.gz | |
tar --no-overwrite-dir -C / -xzf cri-containerd-cni-${VERSION}-linux-amd64.tar.gz | |
mkdir -p /etc/containerd | |
[[ ! -f /etc/containerd/config.toml ]] && containerd config default | sudo tee /etc/containerd/config.toml | |
systemctl daemon-reload | |
systemctl restart containerd | |
rm cri-containerd-cni-${VERSION}-linux-amd64.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment