docker-library/mongo

Initialization scripts in docker-entrypoint-initdb.d/ not working for Windows containers

twity1337 opened this issue · 3 comments

In the documentation for the container image in section "Initializing a fresh instance" it is described how to initialize the image with custom JavaScript files. Those can be located in a docker-entrypoint-initdb.d directory.

However, this feature is not yet supported nor working on windows.
Instead just a todo-comment was added to the corresponding Dockerfile.

If the feature is not added yet, I think, it would be good to have a note mentioning this in the documentation.

So far as I know, the environment variables "MONGO_INITDB_ROOT_USERNAME" and "MONGO_INITDB_ROOT_PASSWORD" also don't show any effect in the Windows image.

Thanks for your reply.

If the feature is not added yet, I think, it would be good to have a note mentioning this in the documentation.

I created an issue for changing the docs: docker-library/docs#2271

Issue closed.