Skip to content

Commit

Permalink
馃搷 Pin containerd version to avoid weave/containerd issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetazzo committed May 25, 2022
1 parent 71ba3ec commit 907e769
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions prepare-vms/lib/commands.sh
Expand Up @@ -239,6 +239,14 @@ _cmd_docker() {
sudo ln -sfn /mnt/docker /var/lib/docker
fi
# containerd 1.6 breaks Weave.
# See https://github.com/containerd/containerd/issues/6921
sudo tee /etc/apt/preferences.d/containerd <<EOF
Package: containerd.io
Pin: version 1.5.*
Pin-Priority: 1000
EOF
# This will install the latest Docker.
sudo apt-get -qy install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Expand Down

0 comments on commit 907e769

Please sign in to comment.