Skip to content

Commit 68c52a0

Browse files
resolve comment
1 parent bdc4295 commit 68c52a0

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

documentdb-local/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DocumentDB-local
2-
DocumentDB is available as a Docker container. It supports running on a wide variety of processors and operating systems and make it easy to try out and test DocumentDB.
2+
DocumentDB Local provides a lightweight, containerized environment for developing and testing applications locally, including prototyping and integration testing.
33

44

55
## Prerequisites
@@ -8,7 +8,7 @@ DocumentDB is available as a Docker container. It supports running on a wide var
88

99
## Installation
1010

11-
Get the Docker container image using `docker pull`. The container image is published to the Github container registry as `ghcr.io/documentdb/documentdb/documentdb-local:latest`.
11+
Get the Docker container image using `docker pull`.
1212

1313
```bash
1414
docker pull ghcr.io/documentdb/documentdb/documentdb-local:latest
@@ -31,7 +31,7 @@ CONTAINER ID IMAGE
3131
5aff734a3591 ghcr.io/documentdb/documentdb/documentdb-local:latest "/bin/bash -c '/home…" 5 seconds ago Up 4 seconds 0.0.0.0:10260->10260/tcp, :::10260->10260/tcp optimistic_blackwell
3232
```
3333

34-
> The DocumenttDB Mongo protocol gateway endpoint is typically available on port `10260`. To access this with `mongosh` run:
34+
> The DocumentDB gateway endpoint is available on port `10260` by default. To access this with `mongosh`, run:
3535
3636
```bash
3737
mongosh "mongodb://demo:test@localhost:10260/?tls=true&tlsAllowInvalidCertificates=true"
@@ -73,12 +73,12 @@ The following table summarizes the available Docker commands for configuring the
7373

7474
## Feature support
7575

76-
Please refer to the documentdb documentation for currently supported features,
76+
Please refer to the [documentdb](https://documentdb.io/docs/) documentation for currently supported features.
7777

7878

7979
## Installing certificates
8080

81-
DocumentDB-local by default will generate new selef signed certificates each tome you start the container. To avoid certificate errors these can be installed on the local host. The example belw will show how to use this with `mongosh`.
81+
By default, DocumentDB Local generates new self-signed certificates each time the container starts. To prevent certificate errors, install them on your local machine. The example below shows how to use this setup with `mongosh`.
8282

8383
### Get certificate
8484

getting-started/mongo-shell-quickstart.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ Before connecting from Node.js, make sure you have a running DocumentDB instance
2323

2424
# Run the container with your chosen username and password
2525
docker run -dt -p 10260:10260 --name documentdb-container documentdb --username <YOUR_USERNAME> --password <YOUR_PASSWORD>
26+
2627
docker image rm -f ghcr.io/documentdb/documentdb/documentdb-local:latest
27-
```
28-
> **Note:** During the transition to the Linux Foundation, Docker images may still be hosted on Microsoft's container registry. These will be migrated to the new DocumentDB organization as the transition completes.
29-
>
28+
```
3029
> **Note:** Replace `<YOUR_USERNAME>` and `<YOUR_PASSWORD>` with your desired credentials. You must set these when creating the container for authentication to work.
3130
>
3231
> **Port Note:** Port `10260` is used by default in these instructions to avoid conflicts with other local database services. You can use port `27017` (the standard MongoDB port) or any other available port if you prefer. If you do, be sure to update the port number in both your `docker run` command and your connection string accordingly.

0 commit comments

Comments
 (0)