class documentation

class Privileges(dict): (source)

View In Hierarchy

Security options for a service's containers. Part of a :py:class:`ContainerSpec` definition. Args: credentialspec_file (str): Load credential spec from this file. The file is read by the daemon, and must be present in the CredentialSpecs subdirectory in the docker data directory, which defaults to ``C:\ProgramData\Docker\`` on Windows. Can not be combined with credentialspec_registry. credentialspec_registry (str): Load credential spec from this value in the Windows registry. The specified registry value must be located in: ``HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion \Virtualization\Containers\CredentialSpecs``. Can not be combined with credentialspec_file. selinux_disable (boolean): Disable SELinux selinux_user (string): SELinux user label selinux_role (string): SELinux role label selinux_type (string): SELinux type label selinux_level (string): SELinux level label

Method __init__ Undocumented
def __init__(self, credentialspec_file=None, credentialspec_registry=None, selinux_disable=None, selinux_user=None, selinux_role=None, selinux_type=None, selinux_level=None): (source)

Undocumented