Skip to content

Simple provisioners that can provision containers and more to popular container engines.

License

Notifications You must be signed in to change notification settings

devantler/dotnet-container-engine-provisioner

Repository files navigation

🐳 .NET Container Engine Provisioner

License Test codecov

Simple provisioners that can provision various resources in container engines.

Show/hide folder structure
.
├── .github
│   └── workflows
├── Devantler.ContainerEngineProvisioner.Core
├── Devantler.ContainerEngineProvisioner.Docker
└── Devantler.ContainerEngineProvisioner.Docker.Tests
    └── DockerProvisionerTests

7 directories

Prerequisites

🚀 Getting Started

To get started, you can install the packages from NuGet.

# For provisioning resources in Docker
dotnet add package Devantler.ContainerEngineProvisioner.Docker

📝 Usage

To use the provisioners, all you need to do is to create and use a new instance of the provisioner.

using Devantler.ContainerEngineProvisioner.Docker;

var provisioner = new DockerProvisioner();

string registryName = "new_registry";
int port = 5010;

// Act
await _provisioner.CreateRegistryAsync(registryName, port, CancellationToken.None);

About

Simple provisioners that can provision containers and more to popular container engines.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Languages