-
Notifications
You must be signed in to change notification settings - Fork 650
3.6: When using --auth mongod binds to localhost only #222
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
Comments
Have you used
|
@ozlerhakan: Yes, i did "db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )" and it was 3.4. But that's not the issue. From within the container i can connect without problems. I'm not quite firm about bash but the docker-entrypoint.sh seems to ensure that "--bind_ip_all" gets removed. It should be either documented or ensured that "--bind_ip_all" is added everytime. Is there any case in which you don't want to bind to all ips in a docker container? |
The following command does not use "--bind_ip_all" thus binding to localhost and making it impossible to use the mongodb server.
Further Infos: I tried to upgrade a 3.4 instance to 3.6. (Same run command but with a different version)
The text was updated successfully, but these errors were encountered: