Skip to content

can't map mongo data directory of a window image in window host #1348

Closed
@tungjb

Description

@tungjb

I got an error when map mongo data directory of a window image in window host

docker run -ti -p 27017:27017 -v c:/temp/mongo:c:/data dockermongo
docker: Error response from daemon: container c35916e043fe3607a2666ee7d0db66b78fb0164cea6d47c7aeab8e524edc0ea3 encountered an error during Start: failure in a Windows system call: The compute system exited unexpectedly. (0xc0370106).

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions