microsoft / microsoft/aspire

Dynamic port allocation not supported for containers

Open
#4,559 7 comments 1 reaction 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

```C#
var builder = DistributedApplication.CreateBuilder(args);

builder.AddDockerfile("app", "nodeapp")
.WithHttpEndpoint(env: "PORT");

builder.Build().Run();
```

@karolz-ms can we support dynamic port allocation for containers as well?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.