Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
twity1337 opened this issue Jan 19, 2023 · 3 comments

Comments

@twity1337
Copy link

twity1337 commented Jan 19, 2023

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.

@twity1337
Copy link
Author

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.

@tianon
Copy link
Member

tianon commented Jan 19, 2023

#291 (comment)

@twity1337
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants