azure-cosmos-db-emulator-docker
azure-cosmos-db-emulator-docker copied to clipboard
Container hangs on...
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.
- Linux (mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest)
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)
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.
@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...
Not kidding you guys... You did a terrible job on this. I will move on from cosmosdb, the development experience is really bad.
Is there really no interest on Microsoft's side to fix this docker emulator issue? I bet there are many organizations that would like to use Linux at least in github workflows but this issue practically prevents running integration tests on Linux agents.
There are so many similar issues and no proper explanation from a Microsoft employee: #68 #51 #45
Because of this issue alone I would not recommend Cosmos DB to anyone considering using it.