Skip to content

ContainerVolume

Maps a Windows path into the container.

public sealed class ContainerVolume
{
    public ContainerVolume(string windowsPath, string containerPath, bool readOnly);

    public string WindowsPath { get; set; }
    public string ContainerPath { get; set; }
    public bool ReadOnly { get; set; }
}

Example:

var volume = new ContainerVolume(@"C:\data", "/workspace/data", readOnly: false);