TeXLive in Docker

Photo created by Suman Khanal

TeXLive-distributions with Python-Pygments and Pandoc

Build Status License: MIT Github Stars

Building Docker images for TeXLive

Image Available tags Description
TeXLive-2017 minimal, basic, small, full Docker image with TeXLive-2017.
TeXLive-2018 minimal, basic, small, full Docker image with TeXLive-2018.
TeXLive-2019 minimal, basic, small, full Docker image with TeXLive-2019.
TeXLive-2020 minimal, basic, small, full Docker image with TeXLive-2020.

Contains TeXLive distributions for different years with additional python-pygments library for source code highlighting via minted package. Also contains Pandoc which is a free and open-source document converter, widely used as a writing tool (especially by scholars) and as a basis for publishing workflows.

How to get the image?

From the interactive docker shell, pull this image with:

docker pull sumankhanal/texlive-<year>:<tag>

Tags available are minimal, basic, small and full.

Why to use ?

If you work with Latex documents, this is useful to compile your document independent of OS and without the need to install anything. All the compilers: pdflatex, xelatex and lualatex are available in images with tag small and full.

You can easily convert markdown documents to pdf with pandoc.


  • For compiling your beamer slides and thesis, image with small tag is adequate

  • Or you can install beamer and minted packages with command tlmgr install beamer minted in image with basic tag. This way pulling image will be faster with less space consumption.

For detailed reading on TeXLive documentation, go here.

Suman Khanal
Suman Khanal
Surgical Oncologist (GI, Breast and Thyroid)

My research interests include Oncology, application of AI in medicine.

comments powered by Disqus