Browse Source

Update 'README.md'

master
parent
commit
4991bdb8de
1 changed files with 19 additions and 2 deletions
  1. +19
    -2
      README.md

+ 19
- 2
README.md View File

@ -27,7 +27,7 @@ $ ls
LICENSE sampleDocument.tex LICENSE sampleDocument.tex
README.md references.bib 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 ## Running the image and mounting the repository
Now you can mount the volumen that contain the just cloned repository. If you are using MacOS: 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:/#
```

Loading…
Cancel
Save