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

Version
v1.4.5
Published
May 12, 2021
Platform
windows/amd64
Imports
5 packages
Last checked
4 minutes ago

Tools for package owners.