Docker port not exposed

Ciaran Liedeman 0 Reputation points
2023-04-14T21:12:30.91+00:00

The cosmos emulator on Docker for Linux (Preview) does not expose port 8081 in the Dockerfile. This is not a problem when runing docker in controlled environments but when runing on ci I cannot manually expose ports. My current workaround is to publish a wrapper docker image that exposes the port Dockerfile
FROM mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest

EXPOSE 8081

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,906 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.