Skip to content

DocumentDb-local data is not persistent across sessions. Data Loss #226

Closed
@JeetMajumdar2003

Description

@JeetMajumdar2003

The data persistence issue. I tried a local volume, yet the problem remains, like when I stop and restart the container, the data is lost.

I run this cmd: docker run -dt -p 10260:10260 -e USERNAME=Username -e PASSWORD=YourPassword -v documentdb-data:/data ghcr.io/microsoft/documentdb/documentdb-local:latest

source: DocumentDB Local – MongoDB API on Your Machine

  1. Successfully run the image-
    Image

  2. Dbs created-
    Image

  3. Local Volume-
    Image

  4. Stoped-
    Image

  5. Start-
    Image

  6. Data Lost-
    Image

  7. Volume not connected-
    Image

Metadata

Metadata

Labels

bugSomething isn't workingdocumentdb-localfor documentdb-local related issuesgatewayfor gateway related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions