Hi @zdenmon! Actually, you will not need to run
bindmount commands. They are only necessary when you need to mount a folder from the host. What you will need is to move the entire folder indicated by
tutor config printroot. This folder contains your Tutor configuration, rendered environment and data.
(Actually, if you create a platform from scratch, you only need to migrate your
config.yml Tutor configuration. The environment will be rendered from scratch when you run
tutor config save or
tutor local quickstart on your production host.)
Note that you will also need to move to the host the tutor binary, or the Python virtualenv containing the “tutor” package along with all plugins and requirements.
Finally, you will have to take care of exporting the Docker images to your host. I recommend that you have a look at docker save. You will have to run something along the following lines:
docker save \
--output myimages.tar.gz \
$(tutor config printvalue DOCKER_IMAGE_OPENEDX) \
$(tutor config printvalue DOCKER_IMAGE_CADDY) \
$(tutor config printvalue DOCKER_IMAGE_FORUM) \
And then on the host:
docker load --input=myimages.tar.gz