You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Gerardo Marx Chávez-Campos 4991bdb8de Update 'README.md' 4 years ago
.gitignore Initial commit 4 years ago
LICENSE Initial commit 4 years ago
README.md Update 'README.md' 4 years ago
references.bib example of latex usage 4 years ago
sampleDocument.tex example of latex usage 4 years ago

README.md

latex-basic

The docker image

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.

Cloning the repository

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

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:/#