package runcexecutor

import "github.com/moby/buildkit/executor/runcexecutor"

Index

Functions

func New

func New(opt Opt, networkProviders map[pb.NetMode]network.Provider) (executor.Executor, error)

Types

type Opt

type Opt struct {
	// root directory
	Root              string
	CommandCandidates []string
	// without root privileges (has nothing to do with Opt.Root directory)
	Rootless bool
	// DefaultCgroupParent is the cgroup-parent name for executor
	DefaultCgroupParent string
	// ProcessMode
	ProcessMode     oci.ProcessMode
	IdentityMapping *idtools.IdentityMapping
	// runc run --no-pivot (unrecommended)
	NoPivot         bool
	DNS             *oci.DNSConfig
	OOMScoreAdj     *int
	ApparmorProfile string
	SELinux         bool
	TracingSocket   string
}

Source Files

executor.go executor_common.go

Version
v0.11.1
Published
Jan 17, 2023
Platform
js/wasm
Imports
28 packages
Last checked
1 minute ago

Tools for package owners.