package apparmor
import "github.com/containerd/containerd/pkg/apparmor"
Index ¶
Functions ¶
func HostSupports ¶
func HostSupports() bool
HostSupports returns true if apparmor is enabled for the host, // On non-Linux returns false On Linux returns true if apparmor_parser is enabled, and if we
are not running docker-in-docker. It is a modified version of libcontainer/apparmor.IsEnabled(), which does not check for apparmor_parser to be present, or if we're running docker-in-docker.
Source Files ¶
apparmor.go apparmor_unsupported.go
Tools for package owners.