From c02d1125154b1bd66795618383e791fc2f2ac7cc Mon Sep 17 00:00:00 2001 From: Daniel Brunner <0xFEEDC0DE64@gmail.com> Date: Fri, 16 Nov 2018 23:52:09 +0100 Subject: [PATCH] docker create instead of docker run --- Launching-the-tool-with-docker.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Launching-the-tool-with-docker.md b/Launching-the-tool-with-docker.md index 1027557..262f3e5 100644 --- a/Launching-the-tool-with-docker.md +++ b/Launching-the-tool-with-docker.md @@ -1,9 +1,9 @@ This is the most simple way to get this tool up and running. This method downloads the newest image from docker hub. Please be aware that there are known issues with the docker image (Bugs [#59](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/59), [#60](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/60), [#61](https://github.com/0xFEEDC0DE64/QtZeiterfassung/issues/61))! -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. +Prepare a docker container with zeiterfassung: ``` -docker run \ +docker create \ -e DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ --name zeiterfassung \ @@ -13,4 +13,4 @@ docker run \ If this fails because of permission problems to X11, try running `xhost +SI:localuser:root` before. -All further launches can be done with `docker start zeiterfassung` \ No newline at end of file +Then launch the tool with `docker start zeiterfassung` \ No newline at end of file