Skip to content

Conversation

saheem128
Copy link

@saheem128 saheem128 commented Dec 11, 2023

When a named volume is assigned to the /data/db dir, restarting the container built on the image leads to mongo not being able to re-elect the only PRIMARY.

See here:
Screenshot 2023-12-11 at 6 55 44 PM

Steps to reproduce:

  1. Up the container via docker-compose, say via the example in README
  2. Down it
  3. Up it again
  4. Interact with db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant