Skip to content

Commit

Permalink
docker-test: downgrade 24.0.7
Browse files Browse the repository at this point in the history
Checkpoint/restore with version 25.0.0-beta.1 fails
with the following error:

$ docker start --checkpoint=c1 cr
Error response from daemon: failed to create task for container: content digest fdb1054b00a8c07f08574ce52198c5501d1f552b6a5fb46105c688c70a9acb45: not found: unknown

Release notes:
moby/moby#46816

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
  • Loading branch information
rst0git committed Nov 29, 2023
1 parent 71a9401 commit 1dcde89
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/ci/docker-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ add-apt-repository \
$(lsb_release -cs) \
stable test"

./apt-install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# checkpoint/restore is broken in Docker Engine (Community) version 25.0.0-beta.1
# Downgrade to 24.0.7
sudo apt-get remove -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras

# shellcheck source=/dev/null
. /etc/lsb-release
wget https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/docker-ce-cli_24.0.7-1~ubuntu.20.04~focal_amd64.deb
wget https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/containerd.io_1.6.9-1_amd64.deb
wget https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/docker-ce_24.0.7-1~ubuntu.20.04~focal_amd64.deb

sudo dpkg -i *.deb

# docker checkpoint and restore is an experimental feature
echo '{ "experimental": true }' > /etc/docker/daemon.json
Expand Down

0 comments on commit 1dcde89

Please sign in to comment.