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 Toolbox and mounting to host volumes #5698

Closed
ps2goat opened this issue Jan 9, 2018 · 4 comments
Closed

Docker Toolbox and mounting to host volumes #5698

ps2goat opened this issue Jan 9, 2018 · 4 comments

Comments

@ps2goat
Copy link

ps2goat commented Jan 9, 2018

File: get-started/part5.md, CC @johndmulhausen

To be clear, I'm using the Docker Toolbox and trying to implement redis mounted as described in Part 5 of the getting started guide.

It would be nice to call out potential issues with Docker Toolbox swarms vs an installed version of Docker (CE, e.g.). I'm unable to mount redis using the provided volume info, and I found this issue that suggests there's a translation layer issue between the Virtual Box service, the local file structure on Windows, and the Docker service.

I've also looked at this issue and tried the path types that were declared as 'working' in the chart half-way down the page. I always either get either the invalid mount config for type or invalid bind mount source, must not be an absolute path error messages.

@londoncalling
Copy link
Contributor

@ps2goat if memory serves, I don't believe you can run the Getting Started on Docker Toolbox. Note that on Part 2, the first prerequisite is to Install Docker version 1.13 or higher, which takes you to these supported platforms for Desktop. Granted, Docker Toolbox is a fallback for Windows users on older systems, but I don't think you can work through the whole Getting Started on it. I could be wrong .. wait to hear from @johndmulhausen, @mistyhacks or @JimGalasyn for sure.

@ps2goat
Copy link
Author

ps2goat commented Jan 9, 2018

@londoncalling -- I just did! I had to add a shared folder to my manager vm in the Oracle VM Virtualbox app and restart it. After that, I was able to mount the shared folder's path using - "/var/data:/data" for redis.

@londoncalling
Copy link
Contributor

@pa2goat Nice! Glad it worked for you on Toolbox! Yes the shared folder is needed, regardless of the system you’re on.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants