From dc10020c081f167f6984f68d2ffea7a26ba0d00a Mon Sep 17 00:00:00 2001 From: Daniel Brunner <0xFEEDC0DE64@gmail.com> Date: Wed, 10 Jan 2018 17:43:32 +0100 Subject: [PATCH] Added "Launching the tool with docker" --- Launching-the-tool-with-docker.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Launching-the-tool-with-docker.md diff --git a/Launching-the-tool-with-docker.md b/Launching-the-tool-with-docker.md new file mode 100644 index 0000000..32d68cd --- /dev/null +++ b/Launching-the-tool-with-docker.md @@ -0,0 +1,14 @@ +This is the most simple way to get this tool up and running. This method downloads the newest image from docker hub. + +When launching the first time, a docker container must be setup correctly. To give docker access to the host X11, we forward the X11 sockets. + +``` +docker run \ + -e DISPLAY=$DISPLAY \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + --net host \ + --name zeiterfassung \ + 0xfeedc0de64/qtzeiterfassung +``` + +All further launches can be done with `docker start zeiterfassung` \ No newline at end of file