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
containerManagerIContainerManagerimageManagerIImageManagernetworkManagerINetworkManagervolumeManagerIVolumeManagerloggerILogger<DockerContainerOrchestrator>
Properties
Containers
Gets the container manager for this runtime.
public IContainerManager Containers { get; }
Property Value
Images
Gets the image manager for this runtime.
public IImageManager Images { get; }
Property Value
Networks
Gets the network manager for this runtime.
public INetworkManager Networks { get; }
Property Value
ProviderName
Gets the name of the container runtime provider (e.g., "Docker", "Podman").
public string ProviderName { get; }
Property Value
Volumes
Gets the volume manager for this runtime.
public IVolumeManager Volumes { get; }
Property Value
Methods
IsAvailableAsync(CancellationToken)
Checks if the runtime is available and reachable.
public Task<bool> IsAvailableAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken