We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be possible to now specify subpath when mounting a volume.
subpath
as per: https://docs.docker.com/reference/compose-file/services/#volumes
however this subpath property is not available on this model:
namespace Docker.DotNet.Models { [DataContract] public class Mount // (mount.Mount) { [DataMember(Name = "Type", EmitDefaultValue = false)] public string Type { get; set; } [DataMember(Name = "Source", EmitDefaultValue = false)] public string Source { get; set; } [DataMember(Name = "Target", EmitDefaultValue = false)] public string Target { get; set; } [DataMember(Name = "ReadOnly", EmitDefaultValue = false)] public bool ReadOnly { get; set; } [DataMember(Name = "Consistency", EmitDefaultValue = false)] public string Consistency { get; set; } [DataMember(Name = "BindOptions", EmitDefaultValue = false)] public BindOptions BindOptions { get; set; } [DataMember(Name = "VolumeOptions", EmitDefaultValue = false)] public VolumeOptions VolumeOptions { get; set; } [DataMember(Name = "TmpfsOptions", EmitDefaultValue = false)] public TmpfsOptions TmpfsOptions { get; set; } } } namespace Docker.DotNet.Models { [DataContract] public class VolumeOptions // (mount.VolumeOptions) { [DataMember(Name = "NoCopy", EmitDefaultValue = false)] public bool NoCopy { get; set; } [DataMember(Name = "Labels", EmitDefaultValue = false)] public IDictionary<string, string> Labels { get; set; } [DataMember(Name = "DriverConfig", EmitDefaultValue = false)] public Driver DriverConfig { get; set; } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It should be possible to now specify
subpath
when mounting a volume.as per: https://docs.docker.com/reference/compose-file/services/#volumes
however this
subpath
property is not available on this model:The text was updated successfully, but these errors were encountered: