docker run --rm harshjv/texlive-2015 ls -lah /opt/texbin/
FROM harshjv/texlive-2015
RUN tlmgr update --all
docker build -t texlive .
Use
harshjv/texlive-2015
instead oftexlive
if skipped optional step above
docker run --rm -it -v $(pwd):/var/texlive texlive pdflatex document.tex
or
docker run --rm -it -v $(pwd):/var/texlive texlive xelatex document.tex
or see available tex commands
docker run --rm -it -v $(pwd):/var/texlive texlive ls -lah /opt/texbin/