Citms.Docker.library
1.0.0
dotnet add package Citms.Docker.library --version 1.0.0
NuGet\Install-Package Citms.Docker.library -Version 1.0.0
<PackageReference Include="Citms.Docker.library" Version="1.0.0" />
paket add Citms.Docker.library --version 1.0.0
#r "nuget: Citms.Docker.library, 1.0.0"
// Install Citms.Docker.library as a Cake Addin #addin nuget:?package=Citms.Docker.library&version=1.0.0 // Install Citms.Docker.library as a Cake Tool #tool nuget:?package=Citms.Docker.library&version=1.0.0
Pull docker image without docker installation
public async Task<ApiResult<string>> Test([FromServices] IImagePuller imagePuller, [FromServices] IImageFactory imageFactory)
{
var result = new ApiResult<string>();
try
{
var image = await imageFactory.CreateFromExpressionAsync("reg.citms.cn:7443/vdp-arm64/vdpw:20220320-224716");
var xx = Path.Combine(AppContext.BaseDirectory, "TempFiles");
await imagePuller.PullAsync(image, xx);
}
catch (Exception e)
{
result.Code = ResultCode.Parameter_Error;
result.Message = e.ToString();
}
return result;
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Citms.Common.Core (>= 2.4.0)
- Microsoft.Extensions.Http (>= 3.1.23)
- SharpZipLib (>= 1.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 269 | 3/22/2022 |
Pull docker image without docker installation