You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One important thing to note is that Docker containers do not have direct access to your local computer's folders. We need to mount a local folder to the DockerHDDM container. We recommend opening a terminal in your working directory and entering the run command docker run -it --rm --cpus=8 -v $(pwd):/home/jovyan/work -p 8888:8888 hcp4715/hddm jupyter lab with -v $(pwd):/home/jovyan/work.
Note that /home/jovyan/work is best left unchanged, and $(pwd) can be changed to any path, e.g. in Linux, -v /mnt/d/ddm_project:/home/jovyan/work; in Windows -v D:\ddm_project. /home/jovyan/work; and in MacOS -v /Volumes/DiskName/ddm_project :/home/jovyan/work; and in MacOS -v /Volumes/DiskName/ddm_project.
Also, note that in windows powershell, use ${pwd} instead of $(pwd).
If you want to save your work to your local computer, it's important to move any files you wish to keep to the work directory within the DockerHDDM container. If you don't, when you close DockerHDDM, any changes or files outside of the work directory will be reset, and you'll lose that data.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
One important thing to note is that Docker containers do not have direct access to your local computer's folders. We need to mount a local folder to the DockerHDDM container. We recommend opening a terminal in your working directory and entering the run command
docker run -it --rm --cpus=8 -v $(pwd):/home/jovyan/work -p 8888:8888 hcp4715/hddm jupyter lab
with-v $(pwd):/home/jovyan/work
.-v /mnt/d/ddm_project:/home/jovyan/work
; in Windows-v D:\ddm_project. /home/jovyan/work
; and in MacOS-v /Volumes/DiskName/ddm_project :/home/jovyan/work
; and in MacOS-v /Volumes/DiskName/ddm_project
.If you want to save your work to your local computer, it's important to move any files you wish to keep to the
work
directory within the DockerHDDM container. If you don't, when you close DockerHDDM, any changes or files outside of thework
directory will be reset, and you'll lose that data.please see the video guide (https://www.youtube.com/watch?v=ZU1fbXEuP8s)
Beta Was this translation helpful? Give feedback.
All reactions