docker run -it aksakalli/latex
Now the sample template inside your container can be compiled:
cd sample pdflatex bib && bibtex bib && pdflatex bib
This image comes with
git to easily clone & edit a latex document.
Mounting the workspace folder
It is easy to use host machine tools such as GUI text editors by mounting the workspace volume to desired host folder (such as
docker run -it -v ~/Documents/latex:/workspace aksakalli/latex