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, 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

Version
v1.5.0-beta.0
Published
Jan 21, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
13 minutes ago

Tools for package owners.