Browse Source

Update docker-test-image.md

content-update
xpetit 3 years ago committed by GitHub
parent
commit
e226c81464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/docker-test-image.md

4
docs/docker-test-image.md

@ -26,7 +26,7 @@ The container runs with the following settings (options of `docker run`) :
- Working directory inside the container
- `--tmpfs /jail:size=100M,noatime,exec,nodev,nosuid,uid=1000,gid=1000,nr_inodes=5k,mode=1700`
- Mount a tmpfs directory on `/jail`, 100 MB writable.
- `--volume volume_containing_student_repository:/jail/student:ro`
- Bind mount a volume containing the student repository, read-only.
- `--volume volume_containing_student_repository:/jail/student`
- Bind mount a volume containing the student repository.
Example of a [Dockerfile](https://github.com/01-edu/public/blob/master/js/tests/Dockerfile) and its [entrypoint](https://github.com/01-edu/public/blob/master/js/tests/entrypoint.sh).

Loading…
Cancel
Save