package apparmor

import "github.com/docker/cli/components/engine/profiles/apparmor"

Index

Functions

func InstallDefault

func InstallDefault(name string) error

InstallDefault generates a default profile in a temp directory determined by os.TempDir(), then loads the profile into the kernel using 'apparmor_parser'.

func IsLoaded

func IsLoaded(name string) (bool, error)

IsLoaded checks if a profile with the given name has been loaded into the kernel.

Source Files

apparmor.go template.go

Version
v17.11.0-ce-rc1+incompatible
Published
Oct 31, 2017
Platform
linux/amd64
Imports
8 packages
Last checked
46 minutes ago

Tools for package owners.