tjcsl / director4

Director 4: Website Hosting for the Masses
https://director.tjhsst.edu
MIT License
9 stars 12 forks source link

fix(orchestrator): don't pull image when opening terminal where possible #38

Closed etnguyen03 closed 3 years ago

etnguyen03 commented 3 years ago

Currently, the orchestrator pulls images from Docker Hub for each new terminal opened, quickly eating through our rate limit.

This PR disables that. If said image is stored on the local registry, it is pulled on every launch of the terminal. If the image is alpine (the site does not have a custom Docker image), it is pulled only if it does not exist.