Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker installation #156

Open
DHGK opened this issue May 30, 2019 · 9 comments
Open

Docker installation #156

DHGK opened this issue May 30, 2019 · 9 comments

Comments

@DHGK
Copy link

DHGK commented May 30, 2019

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
Copy link
Member

zouter commented Jun 3, 2019

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 🙂

@DHGK
Copy link
Author

DHGK commented Jun 4, 2019

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
Copy link

gxe778 commented Jul 15, 2019

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
Copy link
Member

zouter commented Jul 16, 2019

Hi @gxe778

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

@gxe778
Copy link

gxe778 commented Jul 16, 2019

Thank you.

@zehualilab
Copy link

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
Copy link

gxe778 commented Dec 8, 2019

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

@huyetao
Copy link

huyetao commented Feb 6, 2020

same issue.

@repeat-pipettor
Copy link

repeat-pipettor commented Apr 1, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants