microsoft / microsoft/aspire

AddContainer does not have support for docker network

Open
#850 35 comments 3 reactions 0 assignees View on GitHub
area-app-model area-orchestrator
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

Hi,

Is there some roadmap for adding more docker container capabilities? Right now, I see that there is support for Volumes and Replicas using the ResourceAnnotations.

```
builder.AddContainer(..)
.WithAnnotation(new VolumeMountAnnotation(..))
.WithAnnotation(new ReplicaAnnotation(..))
```

I was looking to create a set of containers that use a docker network. If it's something that is not meant to be done using ResourceAnnotations, could you guide me on how we should do it? I see no option to add arguments to the 'docker run' command?

Greetings!

P.S. I'm loving this project already :)

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.