dynmethods icon indicating copy to clipboard operation
dynmethods copied to clipboard

Docker installation

Open DHGK opened this issue 5 years ago • 9 comments

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!

DHGK avatar May 30 '19 20:05 DHGK

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:

zouter avatar Jun 03 '19 15:06 zouter

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.😟

DHGK avatar Jun 04 '19 16:06 DHGK

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.

gxe778 avatar Jul 15 '19 17:07 gxe778

Hi @gxe778

We'll test this out on our windows computers soon and get back to you!

zouter avatar Jul 16 '19 10:07 zouter

Thank you.

gxe778 avatar Jul 16 '19 17:07 gxe778

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.

zehualilab avatar Oct 27 '19 15:10 zehualilab

Thank you. Still working at it on my end. Any thoughts or ideas going forward are always welcome.

gxe778 avatar Dec 08 '19 22:12 gxe778

same issue.

huyetao avatar Feb 06 '20 11:02 huyetao

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!

repeat-pipettor avatar Apr 01 '20 01:04 repeat-pipettor