Service.SecurityOpt 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 security options that can be applied to the container. This is used to configure security-related settings specific to the container such as SELinux labels or AppArmor profiles, providing fine-grained control over the container's security behavior.
[YamlDotNet.Serialization.YamlMember(Alias="security_opt", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> SecurityOpt { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="security_opt", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.SecurityOpt : System.Collections.Generic.List<string> with get, set
Public Property SecurityOpt As List(Of String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute