Azure / azure-cosmos-db-emulator-docker

This repo serves as hub for managing issues, gathering feedback, and having discussions regarding the Cosmos DB Emulator Docker.
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator?tabs=docker-linux%2Ccsharp&pivots=api-nosql
MIT License
145 stars 44 forks source link

Container hangs on... #93

Open pvpmartins opened 2 months ago

pvpmartins commented 2 months ago

Describe the bug Often times the Linux emulator docker container completely freezes. No matter what I do, it keeps like that for a while. It is really time consuming.

Docker Environment

version: '3'
services:
  cosmosdb:
    image: 'mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest'
    environment:
      SA_PASSWORD: 'Your_password123'
    cap_add:
      - SYS_PTRACE
    ports:
      - 8888:8888
    deploy:
      resources:
        limits:
          cpus: '2'
          memory: 8000M # Increase memory limit to 4GB (4000 megabytes)
        reservations:
          cpus: '1'
          memory: 4000M # Increase memory reservation to 2GB (2000 megabytes)
amanrao23 commented 2 months ago

Hi @pvpmartins, thanks for reporting this. Could you elaborate on the issue? Are you encountering it during startup or during a particular operation? Kindly provide any relevant details that may assist us in reproducing the problem.

pvpmartins commented 2 months ago

@amanrao23 https://github.com/Azure/azure-cosmos-db-emulator-docker/assets/85913786/a8a8dcbb-ebd1-42ab-af02-1c44d1d65476

The container has been initialized for a while already...

pvpmartins commented 1 month ago

Not kidding you guys... You did a terrible job on this. I will move on from cosmosdb, the development experience is really bad.