

Mongo mac os docker update#
I encourage you to check out Tomas Lycken’s post for more details or if you are using a pre Windows 10 Creators Update release on getting Docker configured in WSL. With a touch of configuration you can get this working for Docker as well. It should open up a Windows File Explorer windows for the directory you are in. Example: open your favorite WSL distro and run Explorer.exe. WSL makes Windows executable files available from the shell. Not being one who likes to take this as an answer, I fired up Windows Subsystem for Linux, WSL for short. This means that it is not possible to run a MongoDB container with the data directory mapped to the host.

Unfortunately, the mechanism VirtualBox uses to share folders between the host system and the Docker container is not compatible with the memory mapped files used by MongoDB (see vbox bug, and related bug). WARNING (Windows & OS X): The default Docker setup on Windows and OS X uses a VirtualBox VM to host the Docker daemon. I started investigating, and sure enough on the official MongoDB Docker image file documentation it says that Windows won’t work. T19:45:34.180+0000 I NETWORK shutdown: going to close listening sockets. T19:45:34.179+0000 E - Assertion: 28595:1: Operation not permitted src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 413T19:45:34.180+0000 I STORAGE exception in initAndListen: Location28595: 1: Operation not permitted, terminating T19:45:34.178+0000 E STORAGE WiredTiger error (1 ), connection: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted T19:45:34.176+0000 I STORAGE WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.4 T19:45:33.440+0000 I STORAGE wiredtiger_open config: create,cache_size =1452M,session_max =20000,eviction =( threads_min =4,threads_max =4 ),config_base = false,statistics =(fast ),log =( enabled = true,archive = true,path =journal,compressor =snappy ),file_manager =( close_idle_time =100000 ),statistics_log =( wait =0 ),verbose =(recovery_progress ),T19:45:34.174+0000 E STORAGE WiredTiger error (17 ), connection: /data/db/WiredTiger.wt: handle-open: open: File exists
