Skip to content

ProcessSpec

Defined in: packages/runtime/src/container/types.ts:237

PID-1 process description.

bin is resolved via PATH in the container namespace at Container.start time — not at spec construction time.

readonly optional argv?: readonly string[]

Defined in: packages/runtime/src/container/types.ts:241

argv passed to the bin; defaults to [bin] when omitted.


readonly bin: string

Defined in: packages/runtime/src/container/types.ts:239

Path or well-known name, resolved at start().


readonly optional cwd?: string

Defined in: packages/runtime/src/container/types.ts:245

Initial working directory. Default: ’/‘.


readonly optional env?: Readonly<Record<string, string>>

Defined in: packages/runtime/src/container/types.ts:243

Environment — merged over DEFAULT_ENV + image env by specFromImage.