mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 07:18:06 +02:00
bin/up: pull TeX Live images before starting up
This commit is contained in:
parent
ca2b2fb2fb
commit
91851d8887
4 changed files with 40 additions and 1 deletions
|
@ -16,6 +16,8 @@ When sandboxed compiles are enabled, the toolkit will mount the docker socket fr
|
|||
|
||||
In `config/overleaf.rc`, set `SIBLING_CONTAINERS_ENABLED=true`, and ensure that the `DOCKER_SOCKET_PATH` setting is set to the location of the docker socket on the host.
|
||||
|
||||
The next time you start the docker services (with `bin/up`), the overleaf container will verify that it can communicate with docker on the host machine, and will pull the `texlive` image it requires to create the sandboxed compile containers. This process can take several minutes, and compiles will be un-available during this time.
|
||||
The next time you start the docker services (with `bin/up`), the requested TeX Live image (`ALL_TEX_LIVE_DOCKER_IMAGES`) will get downloaded. This process can take several minutes. Once the images have been downloaded, the Server Pro container will get started with the latest configuration changes applied (such as enabling the Sandboxed Compiles feature or adding new TeX Live images).
|
||||
|
||||
You can skip the download of images using `SIBLING_CONTAINERS_PULL=false` in `config/overleaf.rc`.
|
||||
|
||||
Note: We do not support running sandboxed compiles with Docker as installed via `snap`. Please follow the steps for installing Docker CE on https://docs.docker.com/engine/install/.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue