Skip to content

Commit

Permalink
docker-test: downgrade docker to v24.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 2a4d534 commit bd16e3e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/ci/docker-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ add-apt-repository \
$(lsb_release -cs) \
stable test"

./apt-install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# shellcheck source=/dev/null
. /etc/lsb-release
# checkpoint/restore is broken in Docker Engine (Community) version 25.0.0-beta.1
# https://github.com/moby/moby/discussions/46816
# Downgrade to the latest stable version 24.0.7
VERSION_STRING=5:24.0.7-1~ubuntu.20.04~focal
./apt-install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin

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

0 comments on commit bd16e3e

Please sign in to comment.