Table of Contents

Class PodmanContainerOrchestrator

Namespace
Bielu.Microservices.Orchestrator.Podman
Assembly
Bielu.Microservices.Orchestrator.Podman.dll

Podman implementation of the container orchestrator. Podman uses a Docker-compatible API, so it delegates to Docker managers internally.

public class PodmanContainerOrchestrator : IContainerOrchestrator
Inheritance
PodmanContainerOrchestrator
Implements
Inherited Members

Constructors

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

Podman implementation of the container orchestrator. Podman uses a Docker-compatible API, so it delegates to Docker managers internally.

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

Parameters

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

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>