-
Notifications
You must be signed in to change notification settings - Fork 2.2k
can't map mongo data directory of a window image in window host #1348
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
Comments
If you're using Linux Containers on Windows(LCOW) there are contraindications related to NTFS and Docker's Overlay2 and AUFS NTFS is still unsupported by Docker moby/moby#23930 (comment) however LCOW attempts to overcome this https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/linux-containers#Bind-mounts with Hyper-V POSIX translations and it seems you've run into an error where a Windows system call wasn't translated, so I would discern that mongo is unsupported for LCOW You should still be able to let Docker manage your volume as a named volume, this is the alternative to a bind-mount: MariaDB/mariadb-docker#152 (comment) |
Actually I skipped over your use of There is an ongoing issue related to your error message on container start docker/for-win#676 and a comment in the thread notes that mounting the volume to a populated folder will give the error docker/for-win#676 (comment) but it seems this is if the volume is "baked into the image" so in a Dockerfile. Others in the thread mention getting this error from just simply mounting the volume in a You're using the image |
Hi @wglambert, thanks for your answer. |
This isn't really the appropriate place to file this -- this repository is for the documentation of the official images. For help debugging your deployment/implementation/environment, I'd recommend trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow. |
Sure. Noted. |
I got an error when map mongo data directory of a window image in window host
This is the image that I used:
https://github.com/docker-library/mongo/blob/32e5645325ae5dff2ae6f934049cbd6b4635aec0/3.6/windows/windowsservercore-1709/Dockerfile
In the above link, there is a note about mapping issue. However, it seems like the issue has been fixed by virtualbox and also by mongo.
Any idea whether it is possible to map the data directory in window host?
The text was updated successfully, but these errors were encountered: