package apparmor

import "github.com/containerd/containerd/contrib/apparmor"

Index

Functions

func WithDefaultProfile

func WithDefaultProfile(name string) oci.SpecOpts

WithDefaultProfile will generate a default apparmor profile under the provided name for the container. It is only generated if a profile under that name does not exist.

func WithProfile

func WithProfile(profile string) oci.SpecOpts

WithProfile sets the provided apparmor profile to the spec

Source Files

apparmor.go template.go

Version
v1.4.5
Published
May 12, 2021
Platform
linux/amd64
Imports
15 packages
Last checked
8 minutes ago

Tools for package owners.