Skip to content

Instantly share code, notes, and snippets.

@sskset
Created February 17, 2019 04:11
Show Gist options
  • Save sskset/a9ccf3b9c5b2717cf3a3293e21a4d410 to your computer and use it in GitHub Desktop.
Save sskset/a9ccf3b9c5b2717cf3a3293e21a4d410 to your computer and use it in GitHub Desktop.
docker run -d -e MONGO_INITDB_ROOT_USERNAME=sa -e MONGO_INITDB_ROOT_PASSWORD=p@ssw0rd -p 27017:27017 --name mongo1 mongo
User Id: sa
Password: p@ssw0rd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment