Skip to content

Instantly share code, notes, and snippets.

@raicerk
Last active November 12, 2019 20:47
Show Gist options
  • Save raicerk/a6f0d9fcaceda44e0ec042380e5d4fe4 to your computer and use it in GitHub Desktop.
Save raicerk/a6f0d9fcaceda44e0ec042380e5d4fe4 to your computer and use it in GitHub Desktop.
docker mongodb
docker run -p 27018:27017 -v /historico:/data/db -tid --name=mongohistorial -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=mongodbadmin mongo mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment