master
md 17 lines 417 Bytes
Rendered Raw
1 # ContainerVolume
2
3 Binds a Windows path into the container.
4
5 **Constructors / properties**
6
7 - `ContainerVolume(hstring windowsPath, hstring containerPath, bool readOnly)`
8 - `WindowsPath()` / setter
9 - `ContainerPath()` / setter
10 - `ReadOnly()` / setter
11
12 ```cpp
13 ContainerVolume volume{ L"C:\\data", L"/workspace", false };
14 volume.ReadOnly(true);
15 volume.WindowsPath(L"C:\\data");
16 volume.ContainerPath(L"/workspace");
17 ```