github.com/moby/docker@v26.1.3+incompatible/oci/caps/defaults.go (about)

     1  package caps // import "github.com/docker/docker/oci/caps"
     2  
     3  // DefaultCapabilities returns a Linux kernel default capabilities
     4  func DefaultCapabilities() []string {
     5  	return []string{
     6  		"CAP_CHOWN",
     7  		"CAP_DAC_OVERRIDE",
     8  		"CAP_FSETID",
     9  		"CAP_FOWNER",
    10  		"CAP_MKNOD",
    11  		"CAP_NET_RAW",
    12  		"CAP_SETGID",
    13  		"CAP_SETUID",
    14  		"CAP_SETFCAP",
    15  		"CAP_SETPCAP",
    16  		"CAP_NET_BIND_SERVICE",
    17  		"CAP_SYS_CHROOT",
    18  		"CAP_KILL",
    19  		"CAP_AUDIT_WRITE",
    20  	}
    21  }