Skip to content

Unable to Connect to the New Linux Based Emulator from a Docker Container (cosmosEmulatorVnextPreview) #125

@tnguyen2206

Description

@tnguyen2206

I'm giving the new Linux-based emulator a try and running into an issue when trying to connect to it from a ASP.Net Core 8 app running in a Docker container. The request just times out after a while. I'm able to connect to the emulator from a console app just fine. I ran into the same issue when using the Windows local installed emulator but was able to get past the same issue by passing the /AllowNetworkAccess flag when running the emulator. I don't see any Docker command in this list https://learn.microsoft.com/en-us/azure/cosmos-db/emulator-linux#docker-commands that will allow me to set the AllowNetworkAccess flag. Is allowing network access not supported?

Metadata

Metadata

Assignees

Labels

bugcosmosEmulatorVnextPreviewissues raised for the vNext Linux based emulator (preview)

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions