dynmethods
dynmethods copied to clipboard
Docker installation
Hi Dyno Community,
I'm new to computational analysis and I'm trying to get Dyno running on my win10 home computer. I've installed Docker toolbox, but when I run dynwrap::test_docker_installation(detailed = TRUE), it gave me this error:
Error in dynwrap::test_docker_installation(detailed = TRUE) : <U+274C> Unable to mount temporary directory: C:\Users\YUH~1\AppData\Local\Temp\RtmpADETIc\file1c90529d6bbc. On windows, you need to enable the shared drives (https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c)
I tried the website but that tutorial seems to target docker users. I'm not sure what to do for the Docker toolbox. Really appreciate all your help!
Hi @DHGK
You're right that link won't work with docker toolbox. For docker toolbox, you would have to auto-mount the C drive (or the directory from your error: babelwhale:::fix_windows_path("C:\Users\YUH~1\AppData\Local\Temp")
in virtualbox, as is described here: https://medium.com/@Charles_Stover/fixing-volumes-in-docker-toolbox-4ad5ace0e572
The folder name should be c/Users/YUH~1/AppData/Local/Temp
for it to work (this is the output of babelwhale:::fix_windows_path("C:\\Users\\YUH~1\\AppData\\Local\\Temp")
without the forward slashes at the beginning.)
If this works, I'll add it to the error message. So keep me posted :slightly_smiling_face:
Hi @zouter ,
Thank you for the suggestion. I tried the method you share, but I still got the same error when running dynwrap::test_docker_installation(detailed = TRUE).
I tried both C drive and the directory from the error -- neither worked for me.😟
Hey, so I am struggling with this same issue (using docker toolbox with virtual box: windows 10 intel core i3). Tried the above solution and many others. Still getting error. If you have found a solution or an idea, please let me know. Thanks deeply.
Hi @gxe778
We'll test this out on our windows computers soon and get back to you!
Thank you.
Silimar issue here. Also tested the solution you privided but still got the same error. I believe it is not due to the dyno problem but the docker on win10 problem.
Thank you. Still working at it on my end. Any thoughts or ideas going forward are always welcome.
same issue.
Hello all,
I am another user encountering the same exact issue. Were any of you able to work around this? My full error message was as follows:
<U+2714> Docker is installed
<U+2714> Docker daemon is running
<U+2714> Docker is at correct version (>1.0): 1.40
<U+2714> Docker is in linux mode
<U+2714> Docker can pull images
<U+2714> Docker can run image
docker: Error response from daemon: invalid mode: /mount.
See 'docker run --help'.
Error in dynwrap::test_docker_installation(detailed = TRUE) :
<U+274C> Unable to mount temporary directory: C:\Users\Admin\AppData\Local\Temp\RtmpgVFhMP\file362c414258b.
On windows, you need to enable the shared drives (https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c)
Any advice would be greatly appreciated. Thank you!