docker-test: downgrade docker to v24.0.7

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:
https://github.com/moby/moby/discussions/46816

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2023-11-29 11:46:08 +00:00 committed by Andrei Vagin
parent 1004625fac
commit 37d62fa475

View file

@ -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.
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