mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-14 06:58:21 +00:00
d9486018a2
The `--mount` option is available both with `tutor local` and `tutor dev` commands. It allows users to easily bind-mount containers from the host to containers. Yes, I know, we already provide that possibility with the `bindmount` command and the `--volume=/path/` option. But these suffer from the following drawbacks: - They are difficult to understand. - The "bindmount" command name does not make much sense. - It's not convenient to mount an arbitrary folder from the host to multiple containers, such as the many lms/cms containers (web apps, celery workers and job runners). To address this situation, we now recommend to make use of --mount: 1. `--mount=service1[,service2,...]:/host/path:/container/path`: manually mount `/host/path` to `/container/path` in container "service1" (and "service2"). 2. `--mount=/host/path`: use the new v1 plugin API to discover plugins that will detect this option and select the right containers in which to bind-mount volumes. This is really nifty... Close https://github.com/overhangio/2u-tutor-adoption/issues/43 |
||
---|---|---|
.. | ||
_ext | ||
download | ||
img | ||
plugins | ||
reference | ||
tutorials | ||
_release_description.md | ||
.gitignore | ||
conf.py | ||
configuration.rst | ||
dev.rst | ||
faq.rst | ||
gettingstarted.rst | ||
index.rst | ||
install.rst | ||
intro.rst | ||
k8s.rst | ||
local.rst | ||
Makefile | ||
quickstart.rst | ||
run.rst | ||
testimonials.rst | ||
troubleshooting.rst | ||
tutor.rst | ||
whatnext.rst |