File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4040 # See https://github.com/docker/buildx/issues/3654
4141 BUILDX_VERSION=$(apt-cache madison docker-buildx-plugin | awk '{print $3}' | grep -v '^0\.3[1-9]\.' | head -1)
4242 echo "Installing docker-buildx-plugin=$BUILDX_VERSION"
43- sudo apt-get install -y docker-ce=5:20.10.* docker-ce-cli=5:20.10.* containerd.io docker-buildx-plugin="$BUILDX_VERSION" docker-compose-plugin
43+ # Pin compose plugin to v2.x to avoid API incompatibility with Docker 20.10
44+ COMPOSE_VERSION=$(apt-cache madison docker-compose-plugin | awk '{print $3}' | grep '^2\.' | head -1)
45+ echo "Installing docker-compose-plugin=$COMPOSE_VERSION"
46+ sudo apt-get install -y docker-ce=5:20.10.* docker-ce-cli=5:20.10.* containerd.io docker-buildx-plugin="$BUILDX_VERSION" docker-compose-plugin="$COMPOSE_VERSION"
4447 sudo systemctl restart docker
4548
4649 - name : Verify Docker version, Install and Test
You can’t perform that action at this time.
0 commit comments