diff --git a/README.md b/README.md index 431d4f6..8a87e4f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ $ ls LICENSE sampleDocument.tex README.md references.bib ``` -as you can see there are some files related with the repository :) **goo job** +as you can see, there are some files related with the repository :) **goo job** @@ -35,5 +35,22 @@ as you can see there are some files related with the repository :) **goo job** ## Running the image and mounting the repository Now you can mount the volumen that contain the just cloned repository. If you are using MacOS: ``` -$ +$ open -a XQuartz +$ ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') +$ xhost + $ip +192.xxx.x.xx being added to access control list +$ docker run --rm -it -v`pwd`:/mnt -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix gmarxcc/texstudio:0.16 +root@d442a76cd169:/# +``` + + +``` +root@d442a76cd169:/# texstudio +QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' +libGL error: No matching fbConfigs or visuals found +libGL error: failed to load driver: swrast +root@d442a76cd169:/# +``` + +