BootOpts
Defined in: packages/core/src/kernel/types.ts:2066
Options for booting an instance.
Remarks
Section titled “Remarks”volumes mounts bypass the overlay layer, so writes to a volume-mounted
server do NOT produce build-cache layers — use for ephemeral dev mounts
(logs, sockets, external storage), not for seeding content into an image.
Properties
Section titled “Properties”
optionalcwd?:string
Defined in: packages/core/src/kernel/types.ts:2068
shutdownGrace?
Section titled “shutdownGrace?”
optionalshutdownGrace?:number
Defined in: packages/core/src/kernel/types.ts:2075
SIGTERM→SIGKILL grace period in milliseconds. Defaults to 5000. Tests can set to a small value (e.g. 10) to avoid real-time waits.
optionaltty?:TtyConfig
Defined in: packages/core/src/kernel/types.ts:2067
volumes?
Section titled “volumes?”
optionalvolumes?:Record<string,Fileserver>
Defined in: packages/core/src/kernel/types.ts:2069
Methods
Section titled “Methods”getTermSize()?
Section titled “getTermSize()?”
optionalgetTermSize():TerminalSize
Defined in: packages/core/src/kernel/types.ts:2072
Terminal size query — wired into /dev/ttyctl’s ttysize device at boot. Falls back to 80×24 when omitted.