Boot2Docker (on Windows) running Mongo with shared folder (This file system is not supported)

后端 未结 3 1646
无人共我
无人共我 2021-01-15 15:27

I am trying to start a Mongo container using shared folders on Windows using Boot2Docker. When starting using run -it -v /c/Users/310145787/Desktop/mongo:/data/db mong

3条回答
  •  不知归路
    2021-01-15 16:11

    It's seems like you don't need the data directory for MongoDb, removing those lines from your docker-composer.yml should run without problems.

    The data directory is only used by mongo for cache.

提交回复
热议问题