Class ServiceVolumeOptions
Volume options for volume service mounts.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceVolumeOptions
Properties
DriverConfig
Optionally specifies volume driver and options.
Declaration
public ServiceVolumeDriverConfig DriverConfig { get; set; }
Property Value
Type | Description |
---|---|
ServiceVolumeDriverConfig |
Labels
Volume driver labels.
Declaration
public Dictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
NoCopy
Enables populating the volume with data from the container target.
Declaration
public bool NoCopy { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Normalize()
Recursively ensures ensures that any null class or list related properties are replaced with instances with default values or empty lists.
Declaration
public void Normalize()