diff options
author | Andrei Vagin <avagin@virtuozzo.com> | 2017-12-05 08:05:16 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-12-12 09:13:37 +0300 |
commit | b2494eae6144717a5b6a3c129ca12c91391910c8 (patch) | |
tree | aadbf21d30488f41022141b8a505dd4d1e38db93 /scripts/travis | |
parent | 1971cab9fc640fabda4dc81f1dba1305135a1507 (diff) |
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: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'scripts/travis')
-rwxr-xr-x | scripts/travis/docker-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis/docker-test.sh b/scripts/travis/docker-test.sh index 2fad42854..8ed02863b 100755 --- a/scripts/travis/docker-test.sh +++ b/scripts/travis/docker-test.sh @@ -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 |