19 references to AddContainer
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
27return builder.AddContainer(name, image, "latest");
Aspire.Hosting.Azure.Tests (3)
AzureCosmosDBEmulatorFunctionalTests.cs (1)
39var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureEventHubsExtensionsTests.cs (1)
40var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureStorageEmulatorFunctionalTests.cs (1)
39var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
Aspire.Hosting.Containers.Tests (1)
ContainerResourceTests.cs (1)
37appBuilder.AddContainer("container", "none", "nightly");
Aspire.Hosting.Tests (14)
HealthCheckTests.cs (2)
74var resource = builder.AddContainer("resource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 79var dependentResource = builder.AddContainer("dependentresource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
ResourceExtensionsTests.cs (5)
74var container = builder.AddContainer("grafana", "grafana/grafana", "latest").WithImageSHA256("1adbcc2df3866ff5ec1d836e9d2220c904c7f98901b918d3cc5e1118ab1af991"); 84var container = builder.AddContainer("grafana", "grafana/grafana", "10.3.1"); 94var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0") 130var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0") 163var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0")
WaitForTests.cs (7)
89var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 130var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 178var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 226var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 275var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 309var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 349var containerResource = builder.AddContainer("container", "image", "tag")