Install containerd and iptebles (needed for CNI plugins):
apt install containerd iptables
Enable and start the service:
systemctl enable containerd
systemctl start containerd
systemctl status containerd
Install nerdctl which provides alike docker CLI experience.wget https://github.com/containerd/nerdctl/releases/download/v0.21.0/nerdctl-0.21.0-linux-amd64.tar.gz
tar xvf nerdctl-0.21.0-linux-amd64.tar.gz
sudo mv nerdctl /usr/local/bin/
Install CNI pluginswget https://github.com/containernetworking/plugins/releases/download/v1.1.1/cni-plugins-linux-amd64-v1.1.1.tgz
sudo mkdir -p /opt/cni/bin
sudo tar xvf cni-plugins-linux-amd64-v1.1.1.tgz -C /opt/cni/bin/
Test nerdctl:
sudo nerdctl run -it --rm ubuntu bash