package runcexecutor
import "github.com/moby/buildkit/executor/runcexecutor"
Index ¶
- func New(opt Opt, networkProviders map[pb.NetMode]network.Provider) (executor.Executor, error)
- type Opt
Functions ¶
func New ¶
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 *user.IdentityMapping
// runc run --no-pivot (unrecommended)
NoPivot bool
DNS *oci.DNSConfig
OOMScoreAdj *int
ApparmorProfile string
SELinux bool
TracingSocket string
ResourceMonitor *resources.Monitor
CDIManager *cdidevices.Manager
}
Source Files ¶
executor.go executor_common.go executor_linux.go
- Version
- v0.25.1
- Published
- Oct 7, 2025
- Platform
- linux/amd64
- Imports
- 37 packages
- Last checked
- 18 minutes ago –
Tools for package owners.