Three Ways to Create Dockernized LaTeX Environment

Getting Started with LeTeX + Docker + VSCode Remote Container

Shinichi Okada
Towards Data Science

Image by Stefan Keller from Pixabay
Table of ContentsIntroduction1. Setup
2. Method 1: tianon/latex
3. Method 2: Remote-Containers
4. Method 3: Creating your container
5. How to switch Remote containers
6. Opening a PDF
Conclusion

Introduction

We can run a Docker application in any environment, Linux, Windows, or Mac. Docker provides a set of official base images for the most used operating systems and apps. Docker allows you to take full control of your environment, installing what you need, removing, and installing from Dockerfile.

In this article, I will show you three ways how to use LaTeX on Docker and VSCode Remote Containers extension. In the first part, we use tianon/latex image and qmcgaw/latexdevcontainer Docker image in the second part. In the end, we create our image based on the qmcgaw/latexdevcontainer Docker image.

Setup

If you wish, you can delete LaTeX from your computer.

For me I needed to run:

$ brew uninstall mactex

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Written by Shinichi Okada

A programmer and technology enthusiast with a passion for sharing my knowledge and experience. https://codewithshin.com

Responses (1)

What are your thoughts?

How does this work since it seems to not be loading any data from movies.csv or users.csv so how can it predict anything with just the rating and the timestamp?

--