12 references to ContainerRuntime
Aspire.Hosting (12)
Publishing\ResourceContainerImageManager.cs (12)
213
logger.LogDebug("Checking {ContainerRuntimeName} health",
ContainerRuntime
.Name);
215
var containerRuntimeHealthy = await
ContainerRuntime
.CheckIfRunningAsync(cancellationToken).ConfigureAwait(false);
219
logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container images.",
ContainerRuntime
.Name);
220
throw new InvalidOperationException($"Container runtime '{
ContainerRuntime
.Name}' is not running or is unhealthy.");
223
logger.LogDebug("{ContainerRuntimeName} is healthy",
ContainerRuntime
.Name);
244
logger.LogDebug("Checking {ContainerRuntimeName} health",
ContainerRuntime
.Name);
246
var containerRuntimeHealthy = await
ContainerRuntime
.CheckIfRunningAsync(cancellationToken).ConfigureAwait(false);
250
logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container image.",
ContainerRuntime
.Name);
251
throw new InvalidOperationException($"Container runtime '{
ContainerRuntime
.Name}' is not running or is unhealthy.");
254
logger.LogDebug("{ContainerRuntimeName} is healthy",
ContainerRuntime
.Name);
472
await
ContainerRuntime
.BuildImageAsync(
515
await
ContainerRuntime
.PushImageAsync(resource, cancellationToken).ConfigureAwait(false);