Citms.Docker.library
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; }
Install
dotnet add package Citms.Docker.library --version 1.0.0
Install-Package Citms.Docker.library -Version 1.0.0
<PackageReference Include="Citms.Docker.library" Version="1.0.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.