README Docker disambiguations

Disambiguate between nsjail _container_ and _command_ in README for easier reading.

- Being a n00b to this project I feel this makes the onboarding of use with Docker somewhat easier by removing duplicated/overloaded terms.
This commit is contained in:
tomj 2018-09-03 01:39:41 +10:00 committed by GitHub
parent 589b342863
commit 4096acee3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -521,14 +521,14 @@ Options:
To launch nsjail in a docker container clone the repository and build the docker image:
<pre>
docker build -t nsjail .
docker build -t nsjailcontainer .
</pre>
This will build up an image containing njsail and kafel.
From now you can either use it in another Dockerfile (`FROM nsjail`) or directly:
From now you can either use it in another Dockerfile (`FROM nsjailcontainer`) or directly:
<pre>
docker run --privileged --rm -it nsjail nsjail --user 99999 --group 99999 --disable_proc --chroot / --time_limit 30 /bin/bash
docker run --privileged --rm -it nsjailcontainer nsjail --user 99999 --group 99999 --disable_proc --chroot / --time_limit 30 /bin/bash
</pre>
***