summaryrefslogtreecommitdiffstats
path: root/docs/source/docker.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/docker.rst')
-rw-r--r--docs/source/docker.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/source/docker.rst b/docs/source/docker.rst
index 7c3237a..232c7f4 100644
--- a/docs/source/docker.rst
+++ b/docs/source/docker.rst
@@ -41,4 +41,10 @@ To list assessments in the database using docker:
.. code-block:: bash
- sudo docker run -it --entrypoint python --rm smarker assessments.py --list yes \ No newline at end of file
+ sudo docker run -it --entrypoint python --rm smarker assessments.py --list yes
+
+.. code-block:: bash
+
+ touch out/report.pickle && sudo docker run -v "$(pwd)/out/report.pickle":/Smarker/plagarism_report_details.pickle -it --entrypoint python --rm smarker assessments.py --plagarism_report example
+
+If a file doesn't exist before it's passed through as a volume in docker, it will be created automatically as a *directory*- this causes issues if the docker image produces a file so we make a blank file first. \ No newline at end of file