Table of Contents

Class DockerContainerOrchestrator

Namespace
Bielu.Microservices.Orchestrator.Docker
Assembly
Bielu.Microservices.Orchestrator.Docker.dll

Docker implementation of the container orchestrator.

public class DockerContainerOrchestrator : IContainerOrchestrator
Inheritance
DockerContainerOrchestrator
Implements
Inherited Members

Constructors

DockerContainerOrchestrator(IContainerManager, IImageManager, INetworkManager, IVolumeManager, ILogger<DockerContainerOrchestrator>)

Docker implementation of the container orchestrator.

public DockerContainerOrchestrator(IContainerManager containerManager, IImageManager imageManager, INetworkManager networkManager, IVolumeManager volumeManager, ILogger<DockerContainerOrchestrator> logger)

Parameters

containerManager IContainerManager
imageManager IImageManager
networkManager INetworkManager
volumeManager IVolumeManager
logger ILogger<DockerContainerOrchestrator>

Properties

Containers

Gets the container manager for this runtime.

public IContainerManager Containers { get; }

Property Value

IContainerManager

Images

Gets the image manager for this runtime.

public IImageManager Images { get; }

Property Value

IImageManager

Networks

Gets the network manager for this runtime.

public INetworkManager Networks { get; }

Property Value

INetworkManager

ProviderName

Gets the name of the container runtime provider (e.g., "Docker", "Podman").

public string ProviderName { get; }

Property Value

string

Volumes

Gets the volume manager for this runtime.

public IVolumeManager Volumes { get; }

Property Value

IVolumeManager

Methods

IsAvailableAsync(CancellationToken)

Checks if the runtime is available and reachable.

public Task<bool> IsAvailableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<bool>