syscont

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdRangeMin uint32 = 65536
)

Exported

Variables

View Source
var (
	SysboxFsDir string = "/var/lib/sysboxfs"
)

Functions

func AddSyscallTraps

func AddSyscallTraps(config *configs.Config) error

AddSyscallTraps modifies the given libcontainer config to add seccomp-notification actions (for syscall trapping)

func ConvertProcessSpec

func ConvertProcessSpec(p *specs.Process, sbox *sysbox.Sysbox, isExec bool) error

Configure the container's process spec for system containers

func ConvertSpec

func ConvertSpec(context *cli.Context, spec *specs.Spec, sbox *sysbox.Sysbox) error

ConvertSpec converts the given container spec to a system container spec.

func Example

func Example() (*specs.Spec, error)

Example returns an example OCI spec file for a system container

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL