-
Notifications
You must be signed in to change notification settings - Fork 623
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
Windows mounting /data/db #74
Comments
+1, it can run ,but don't mount |
Yeah I don't think it is possible to run mongodb using the shared folders of the virtual machine. You can still keep it persistent if you use |
That is unfortunate ! |
Found a link: VirtualBox Shared Folders are not supported by mongodb. |
I am having this issue on the latest Docker for Windows beta, which uses Hyper-v (not Virtualbox):
Is this expected? I thought Hyper-v resolved all problems posed by Virtualbox. |
Docker for Windows does make much of the VM transparent to the Windows host, but it is still a virtual machine. I haven't tried using it with a mongo container, but I would guess that MongoDB needs something else supported by the file system. There is also this issue on the forums about volume mounts being extremely slow. |
It works using a volume which is created using docker volume create --name=myvolume docker volume create --name=mongodata |
Wow!!! @ptitcoutu thanks a lot. Been battling with this for over a week. |
on docker-machine i use this conect to docker-machine create a file
exemple :
Where Projects is the virtual box folder To close and save the file: |
@ptitcoutu Thanks! For those using compose you can do this:
|
same issue here. |
I am running a local kubernetes cluster via Docker for Windows option. It there a way to get mongo working that way with a persistant storage? |
@davesmits were you able to get mongo working with your local kubernetes cluster? I've got the exact same scenario and just came upon this post... |
We solved it by using a volume inside the virtual machine |
Sames issue. Will try mounted volume but this should not be needed really |
I used relative path |
Have same problem. Is there any solution for that on do let for windows? |
Hi,
I'm trying to mount /data/db from my Windows dev PC but everytime I try, Mongo crashes as it seems to not have the right BUT :
Here are the logs :
I have files that have been created in my directory but they seems locked in. I have to turn off the docker-machine to delete WiredTiger.wt
The text was updated successfully, but these errors were encountered: