mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 14:19:26 +00:00
* Updated doc structure --------- Co-authored-by: docs-builder <docs-builder@localhost>
21 lines
368 B
Markdown
21 lines
368 B
Markdown
# PullImageOptions
|
|
|
|
```csharp
|
|
public sealed class PullImageOptions
|
|
{
|
|
public PullImageOptions(string uri);
|
|
|
|
public string Uri { get; set; }
|
|
public string RegistryAuth { get; set; }
|
|
}
|
|
```
|
|
|
|
Example:
|
|
|
|
```csharp
|
|
var pullOptions = new PullImageOptions("docker.io/library/alpine:latest")
|
|
{
|
|
RegistryAuth = string.Empty // optional for public registries
|
|
};
|
|
```
|