add --privileged to docker command.

To run this program, you need --privileged for mounting
/tmp/nsjail.root.
This commit is contained in:
Yoshisato Yanagisawa 2017-06-02 18:07:32 +09:00
parent 611a17f96f
commit 91737713c4

View File

@ -476,5 +476,5 @@ This will build up an image containing njsail and kafel.
From now you can either use it in another Dockerfile (`FROM nsjail`) or directly:
<pre>
docker run --rm -it nsjail nsjail --user 99999 --group 99999 --disable_proc --chroot / --time_limit 30 /bin/bash
docker run --privileged --rm -it nsjail nsjail --user 99999 --group 99999 --disable_proc --chroot / --time_limit 30 /bin/bash
</pre>