Skip to content

ContainerRuntimeImpl

Defined in: packages/runtime/src/container/runtime.ts:58

Minimal IContainerRuntime implementation — create containers, or boot an image directly via the legacy path.

Construct via createContainerRuntime (preferred); the class is exported for subclassing (ContainerManagerImpl extends it). Holds no container registry — callers own the resulting Container handles.

new ContainerRuntimeImpl(caps): ContainerRuntimeImpl

Defined in: packages/runtime/src/container/runtime.ts:61

PlatformCapabilities

ContainerRuntimeImpl

boot(image, opts?): Promise<UnixInstance>

Defined in: packages/runtime/src/container/runtime.ts:69

Legacy: boot an image directly, bypassing the container lifecycle.

UnixImage

BootOpts

Promise<UnixInstance>

ContainerRuntime.boot


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.

ContainerSpec

CreateOpts

Promise<Container>

ContainerRuntime.create