Service.CapDrop Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a list of Linux capabilities to be dropped from the service's container. This property can be used to restrict specific capabilities that the container should not have access to, enhancing security by implementing the principle of least privilege.
[YamlDotNet.Serialization.YamlMember(Alias="cap_drop", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> CapDrop { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="cap_drop", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.CapDrop : System.Collections.Generic.List<string> with get, set
Public Property CapDrop As List(Of String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute