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.7.1
Published
May 10, 2023
Platform
js/wasm
Last checked
2 minutes ago

Tools for package owners.