File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ docker images
5656and checking that an image called ` diffdetective-demo ` is listed.
5757You 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```
6161You may get some font errors, which you can ignore (see Troubleshooting below).
6262The parameters ` --net=host ` and ` -e DISPLAY=host.docker.internal:0 ` are required to launch graphical user interfaces from within Docker.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments