mirror of https://github.com/dapr/docs.git
Merge pull request #4133 from hhunter-ms/issue_4103
Update Docker command for MongoDB state component
This commit is contained in:
commit
3a9770cca2
|
@ -85,7 +85,7 @@ If you wish to use MongoDB as an actor store, add this metadata option to your C
|
|||
You can run a single MongoDB instance locally using Docker:
|
||||
|
||||
```sh
|
||||
docker run --name some-mongo -d mongo
|
||||
docker run --name some-mongo -d -p 27017:27017 mongo
|
||||
```
|
||||
|
||||
You can then interact with the server at `localhost:27017`. If you do not specify a `databaseName` value in your component definition, make sure to create a database named `daprStore`.
|
||||
|
|
Loading…
Reference in New Issue