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