dynverse / dynmethods

A collection of 50+ trajectory inference methods within a common interface 📥📤
https://dynverse.org
Other
118 stars 26 forks source link

Docker installation #156

Open DHGK opened 5 years ago

DHGK commented 5 years ago

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!

zouter commented 5 years ago

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:

DHGK commented 5 years ago

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

gxe778 commented 5 years ago

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.

zouter commented 5 years ago

Hi @gxe778

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

gxe778 commented 5 years ago

Thank you.

zehualilab commented 4 years ago

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.

gxe778 commented 4 years ago

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

huyetao commented 4 years ago

same issue.

repeat-pipettor commented 4 years ago

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!