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.6.26
Published
Dec 8, 2023
Platform
js/wasm
Imports
5 packages
Last checked
6 minutes ago

Tools for package owners.