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_unsupported.go

Version
v1.6.31
Published
Apr 5, 2024
Platform
windows/amd64
Last checked
now

Tools for package owners.