mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 21:38:16 +00:00
docker/podman: test c/r with action-script
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
b02d53a8f4
commit
cde9bcf63d
@ -28,6 +28,9 @@ CRIU_LOG='/criu.log'
|
||||
mkdir -p /etc/criu
|
||||
echo "log-file=$CRIU_LOG" > /etc/criu/runc.conf
|
||||
|
||||
# Test checkpoint/restore with action script
|
||||
echo "action-script /usr/bin/true" | sudo tee /etc/criu/default.conf
|
||||
|
||||
export SKIP_CI_TEST=1
|
||||
|
||||
./run-ci-tests.sh
|
||||
|
@ -17,6 +17,9 @@ mkdir -p /etc/criu
|
||||
echo "manage-cgroups ignore" > /etc/criu/runc.conf
|
||||
sed -i 's/#runtime\s*=\s*.*/runtime = "runc"/' /usr/share/containers/containers.conf
|
||||
|
||||
# Test checkpoint/restore with action script
|
||||
echo "action-script /usr/bin/true" | sudo tee /etc/criu/default.conf
|
||||
|
||||
podman info
|
||||
|
||||
podman run --name cr -d docker.io/library/alpine /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
|
||||
|
Loading…
x
Reference in New Issue
Block a user