Like first estep run your Dcoker image, but in ordert to have the latest image update it first
$ docker pull gmarxcc/texstudio:0.16
Note you can check the latest version on: docker-hub.
Now, from command line or power-shell clone go to a folder that will contain this repository, in my case is:
$ cd rs-101/git-examples/
Now let's clone the repository using 'git clone' command
$ git clone http://gmarx.jumpingcrab.com:8088/mice-rs101/latex-basic.git
then go inside the folder just created:
$ ls
latex-basic
$ cd latex-basic
$ ls
LICENSE sampleDocument.tex
README.md references.bib
as you can see, there are some files related with the repository :) goo job
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:/#