We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
The sample stack.yml works with linux.
version: '3.1' services: mongo: image: mongo restart: always environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example
But if i change image to nanoserver, and run it under windows, authentication error will occur.
version: '3.1' services: mongo: image: mongo:nanoserver restart: always environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example ports: - 27017:27017
On client side:
MongoDB.Driver.MongoAuthenticationException Unable to authenticate using sasl protocol mechanism SCRAM-SHA-1.
On server side:
"error":"UserNotFound: Could not find user "root" for db "test""}}
The text was updated successfully, but these errors were encountered:
#291 (comment)
Sorry, something went wrong.
No branches or pull requests
The sample stack.yml works with linux.
But if i change image to nanoserver, and run it under windows, authentication error will occur.
On client side:
On server side:
The text was updated successfully, but these errors were encountered: