Skip to content

Commit 8ef6877

Browse files
committed
Expose the output of the docker container
1 parent 9ae7e56 commit 8ef6877

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ docker images
5656
and checking that an image called `diffdetective-demo` is listed.
5757
You can run the image and thus the demo with the following command:
5858
```shell
59-
docker run --net=host -e DISPLAY=host.docker.internal:0 -t diffdetective-demo
59+
docker run --net=host -e DISPLAY=host.docker.internal:0 --volume="$PWD/data/output:/home/user/data/output:rw" -t diffdetective-demo
6060
```
6161
You may get some font errors, which you can ignore (see Troubleshooting below).
6262
The parameters `--net=host` and `-e DISPLAY=host.docker.internal:0` are required to launch graphical user interfaces from within Docker.

docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ case "$1" in
2626
) && echo "Docker container successfully built." || echo "Failed to build the docker container."
2727
;;
2828
demo)
29-
docker run --rm --net=host --volume="$HOME/.Xauthority:/home/user/.Xauthority:rw" -e _JAVA_AWT_WM_NONREPARENTING="$_JAVA_AWT_WM_NONREPARENTING" -e DISPLAY="${DISPLAY:-:0}" diffdetective-demo:1.0.0
29+
docker run --rm --net=host --volume="$HOME/.Xauthority:/home/user/.Xauthority:rw" -e _JAVA_AWT_WM_NONREPARENTING="$_JAVA_AWT_WM_NONREPARENTING" -e DISPLAY="${DISPLAY:-:0}" --volume="$PWD/data/output:/home/user/data/output:rw" diffdetective-demo:1.0.0
3030
;;
3131
*)
3232
usage

0 commit comments

Comments
 (0)