Skip to content

Send files to the Cogent3 environment

richard morris edited this page Nov 14, 2023 · 1 revision

Sending files to your container

Once inside the Docker container, you will be in the /workspace directory. This is a bind mount to the Cogent3_Workshop_2023 directory on your host machine. Any files you create or edit in this directory will be available on your host machine, and vice versa.

So to copy files to your container to work with (data, python scripts, or jupyter notebooks), simply copy them to the Cogent3_Workshop_2023 directory on your host OS and they will appear in the container.

This also means that any work you do to files in the container in the /workspace path will persist after you close down the container. So you can work on a notebook, save it, and when you reopen the container, the notebook will still be there.