ContainerRuntimeImpl
Defined in: packages/runtime/src/container/runtime.ts:58
Minimal IContainerRuntime implementation — create containers, or boot an image directly via the legacy path.
Remarks
Section titled “Remarks”Construct via createContainerRuntime (preferred); the class is exported for subclassing (ContainerManagerImpl extends it). Holds no container registry — callers own the resulting Container handles.
Extended by
Section titled “Extended by”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ContainerRuntimeImpl(
caps):ContainerRuntimeImpl
Defined in: packages/runtime/src/container/runtime.ts:61
Parameters
Section titled “Parameters”Returns
Section titled “Returns”ContainerRuntimeImpl
Methods
Section titled “Methods”boot()
Section titled “boot()”boot(
image,opts?):Promise<UnixInstance>
Defined in: packages/runtime/src/container/runtime.ts:69
Legacy: boot an image directly, bypassing the container lifecycle.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<UnixInstance>
Implementation of
Section titled “Implementation of”create()
Section titled “create()”create(
spec,opts?):Promise<Container>
Defined in: packages/runtime/src/container/runtime.ts:65
Create a new container from a spec. Container starts in created state.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<Container>