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:

This is derived from libcontainer/apparmor.IsEnabled(), with the addition of checks for apparmor_parser to be present and docker-in-docker.

Source Files

apparmor.go apparmor_linux.go

Version
v1.7.19
Published
Jul 2, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
55 minutes ago

Tools for package owners.