TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Intro to Docker and how we use it at WriteLaTeX

157 pointsby jdleesmillerover 10 years ago

9 comments

xtrumanxover 10 years ago
Yay, the first Docker post I can understand. I just installed and used Docker today to get a simple web server running out of a VPS (which is also a first for me as I always used managed services like Heroku).<p>However, some aspects of Docker leave me with concerns that it may not be the tool for me. I tried installing the official node image and it downloaded hundreds of megabytes of other images (probably over a GB). Not that much of a problem on my VPS but absolutely unusable anywhere else in my corner of the world.<p>Looks like I&#x27;ll have to create my own images and use my own private local registry to make use of Docker outside of my VPS.
评论 #8632413 未加载
评论 #8631159 未加载
rcchenover 10 years ago
Great presentation, it was very easy to follow and understand.<p>Quick question though: is the only reason for using Docker containers with LaTeX file compilation for providing isolation between documents? Isn&#x27;t there a performance hit versus running file compilation directly on worker machines, perhaps with some sort of folder-based isolation (workers will only compile files in folders that the user has permissions to)?
评论 #8631496 未加载
errordeveloperover 10 years ago
&gt; Each compile job gets its own short-lived container<p>Just curious, how do handle input and output? Do you prepare a volume with the input and then grab output from there as well, or the program inside the container is fetching input from somewhere first, runs exec latex and then uploads the output elsewhere?
评论 #8630766 未加载
frequentflyeruover 10 years ago
Love the format of your presentation. I wish all web based presentations were like that.
j_sover 10 years ago
Docker as a layer of security vs. untrusted user input being compiled as root?<p>I&#x27;d be interested in hearing more about the decision-making since Docker doesn&#x27;t claim to provide protection from untrusted users.
评论 #8632731 未加载
hackerboosover 10 years ago
I disagree with running RVM in a docker container. The point of RVM is to manage multiple versions of ruby and a container is only meant to have a single responsibility so running multiple versions of ruby is not advised.<p>I think you&#x27;re better off installing the required version with Ruby Install [1] rather than adding the complexity of a version manager.<p>[1] - <a href="https://github.com/postmodern/ruby-install#readme" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;postmodern&#x2F;ruby-install#readme</a>
评论 #8635298 未加载
qsymmachusover 10 years ago
Really nice presentation. Thanks for sharing this!
plgover 10 years ago
q: what did you use to generate the slides?<p>edit: I see: cleaver
评论 #8630519 未加载
评论 #8632646 未加载
adiMover 10 years ago
Would it be possible for you to add support to other TeX formats, in particular, ConTeXt?
评论 #8636309 未加载