Update instructions

This commit is contained in:
Luke Else 2021-10-31 13:03:33 +00:00 committed by GitHub
parent d223cac8b1
commit b3e06d9aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,3 +7,8 @@ Create a user (root) and any other databases (with users)
Close and re-run docker file with auth enabled (DBs Should persist) Close and re-run docker file with auth enabled (DBs Should persist)
docker run -d -p 27017:27017 -v ~/dataMongo:/data/db mongo --auth docker run -d -p 27017:27017 -v ~/dataMongo:/data/db mongo --auth
https://stackoverflow.com/questions/42201233/mongodb-with-docker-authentication