Я использую windows 10 home с docker toolbox
Единственная общая папка в настройках vbox, которая была установлена по умолчанию:
при использовании следующего yaml:
services:
mongo:
image: mongo
restart: always
volumes:
- C:/Users/data:/data/db
ports:
- 27017:27017
mongo-express:
image: mongo-express
restart: always
ports:
- 9000:8081
Изменены разрешения на доступ к папке для всех пользователей
Получение следующей ошибки в журналах mongodb:
mongo_1 | 2020-04-24T09:30:30.192+0000 E STORAGE [initandlisten] WiredTiger error (17) [1587720630:192587][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1587720630:192587][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1 | 2020-04-24T09:30:30.193+0000 E STORAGE [initandlisten] WiredTiger error (26) [1587720630:193681][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy Raw: [1587720630:193681][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy
mongo_1 | 2020-04-24T09:30:30.204+0000 E STORAGE [initandlisten] WiredTiger error (17) [1587720630:204261][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1587720630:204261][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1 | 2020-04-24T09:30:30.205+0000 E STORAGE [initandlisten] WiredTiger error (26) [1587720630:205347][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy Raw: [1587720630:205347][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy
mongo_1 | 2020-04-24T09:30:30.218+0000 E STORAGE [initandlisten] WiredTiger error (17) [1587720630:218021][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1587720630:218021][1:0x7f12e9fe8b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1 | 2020-04-24T09:30:30.219+0000 E STORAGE [initandlisten] WiredTiger error (26) [1587720630:219113][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy Raw: [1587720630:219113][1:0x7f12e9fe8b00], connection: __posix_fs_rename, 241: /data/db/WiredTiger.wt to /data/db/WiredTiger.wt.1: file-rename: rename: Text file busy
mongo_1 | 2020-04-24T09:30:30.221+0000 W STORAGE [initandlisten] Failed to start up WiredTiger under any compatibility version.
mongo_1 | 2020-04-24T09:30:30.221+0000 F STORAGE [initandlisten] Reason: 26: Text file busy
mongo_1 | 2020-04-24T09:30:30.221+0000 F - [initandlisten] Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 860
mongo_1 | 2020-04-24T09:30:30.221+0000 F - [initandlisten]
mongo_1 |
mongo_1 | ***aborting after fassert() failure
mongo_1 |
mongo_1 |
Внутри папка, которую я вижу, была создана следующая:
Есть идеи, что я делаю не так?