Commit b2494eae authored by Andrei Vagin's avatar Andrei Vagin

test/docker: check a continaer with a read-only file system

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: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 1971cab9
......@@ -40,7 +40,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment