Skip to main content
The .NET SDK is currently in development. Check back soon or follow us on GitHub for updates.
The .NET SDK will allow you to programmatically configure Docker containers to route through the OneCLI proxy from C# and .NET applications.

Planned installation

dotnet add package OneCLI.Sdk

Planned usage

using OneCLI;

var oc = new OneCLIClient("http://localhost:18080");

var config = await oc.GetContainerConfigAsync();
Console.WriteLine(config.Env);
Console.WriteLine(config.Mounts);
Want this SDK sooner? Let us know on GitHub.