mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 06:09:04 +00:00
* Updated doc structure --------- Co-authored-by: docs-builder <docs-builder@localhost>
463 B
463 B
ContainerNamedVolume
Maps a session-managed named VHD volume into the container.
public sealed class ContainerNamedVolume
{
public ContainerNamedVolume(string name, string containerPath, bool readOnly);
public string Name { get; set; }
public string ContainerPath { get; set; }
public bool ReadOnly { get; set; }
}
Example:
var namedVolume = new ContainerNamedVolume("cache", "/var/cache/app", readOnly: false);