for-mac
for-mac copied to clipboard
Synchronised File Sharing MongoDB data volume causes data corruption
Description
As per title. With this feature turned on; https://docs.docker.com/desktop/synchronized-file-sharing/ Using the MongoDB 6 image, and mounting the data volume, it will immediately become corrupt and MongoDB will fail with error code 14 and a WiredTiger error.
Reproduce
Turn on the sync feature in Docker Desktop
docker run --name some-mongo -v /my/own/datadir:/data/db mongo:6
Instantly fails
Expected behavior
No response
docker version
-
docker info
-
Diagnostics ID
Additional Info
No response