Created
October 3, 2022 10:59
-
-
Save alperen-selcuk/72319dc169bc7d61cb6a297893fa8a9c to your computer and use it in GitHub Desktop.
containerd install
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
sudo su - | |
wget https://github.com/containerd/containerd/releases/download/v1.6.8/containerd-1.6.8-linux-amd64.tar.gz | |
tar Cxzvf /usr/local containerd-1.6.8-linux-amd64.tar.gz | |
wget https://github.com/opencontainers/runc/releases/download/v1.1.3/runc.amd64 | |
install -m 755 runc.amd64 /usr/local/sbin/runc | |
wget https://github.com/containernetworking/plugins/releases/download/v1.1.1/cni-plugins-linux-amd64-v1.1.1.tgz | |
mkdir -p /opt/cni/bin | |
tar Cxzvf /opt/cni/bin cni-plugins-linux-amd64-v1.1.1.tgz | |
mkdir -p /etc/containerd/ | |
containerd config default | sudo tee /etc/containerd/config.toml | |
sed -i 's/SystemdCgroup \= false/SystemdCgroup \= true/g' /etc/containerd/config.toml | |
curl -L https://raw.githubusercontent.com/containerd/containerd/main/containerd.service -o /etc/systemd/system/containerd.service | |
systemctl daemon-reload | |
systemctl start containerd | |
systemctl enable containerd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment