package seccomp

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

Index

Functions

func DefaultProfile

func DefaultProfile() *types.Seccomp

DefaultProfile returns a nil pointer on unsupported systems.

func GetDefaultProfile

func GetDefaultProfile(rs *specs.Spec) (*specs.LinuxSeccomp, error)

GetDefaultProfile returns the default seccomp profile.

func LoadProfile

func LoadProfile(body string, rs *specs.Spec) (*specs.LinuxSeccomp, error)

LoadProfile takes a json string and decodes the seccomp profile.

Source Files

seccomp.go seccomp_unsupported.go

Version
v17.11.0-ce-rc1+incompatible
Published
Oct 31, 2017
Platform
linux/amd64
Imports
7 packages
Last checked
12 hours ago

Tools for package owners.