master
md 20 lines 436 Bytes
Rendered Raw
1 # ContainerVolume
2
3 Maps a Windows path into the container.
4
5 ```csharp
6 public sealed class ContainerVolume
7 {
8 public ContainerVolume(string windowsPath, string containerPath, bool readOnly);
9
10 public string WindowsPath { get; set; }
11 public string ContainerPath { get; set; }
12 public bool ReadOnly { get; set; }
13 }
14 ```
15
16 Example:
17
18 ```csharp
19 var volume = new ContainerVolume(@"C:\data", "/workspace/data", readOnly: false);
20 ```