master
md 20 lines 368 Bytes
Rendered Raw
1 # PullImageOptions
2
3 ```csharp
4 public sealed class PullImageOptions
5 {
6 public PullImageOptions(string uri);
7
8 public string Uri { get; set; }
9 public string RegistryAuth { get; set; }
10 }
11 ```
12
13 Example:
14
15 ```csharp
16 var pullOptions = new PullImageOptions("docker.io/library/alpine:latest")
17 {
18 RegistryAuth = string.Empty // optional for public registries
19 };
20 ```