[CRIU] [PATCH] test/docker: check a continaer with a read-only file system
Andrei Vagin
avagin at virtuozzo.com
Thu Dec 7 19:56:33 MSK 2017
Applied
On Tue, Dec 05, 2017 at 08:05:16AM +0300, Andrei Vagin wrote:
> From: Andrei Vagin <avagin at virtuozzo.com>
>
> Now it's probably one valide use case, because there is no way to commit
> a container when a container is being checkpointed.
>
> Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
> ---
> scripts/travis/docker-test.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/travis/docker-test.sh b/scripts/travis/docker-test.sh
> index a26b56996..0f034cfa6 100755
> --- a/scripts/travis/docker-test.sh
> +++ b/scripts/travis/docker-test.sh
> @@ -39,7 +39,7 @@ docker info
>
> criu --version
>
> -docker run --security-opt=seccomp:unconfined --name cr -d alpine /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
> +docker run --tmpfs /tmp --tmpfs /run --read-only --security-opt=seccomp:unconfined --name cr -d alpine /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
>
> sleep 1
> for i in `seq 50`; do
> --
> 2.13.6
>
More information about the CRIU
mailing list