Opsmaru.Containers.Nested (opsmaru_containers v0.1.0)

Copy Markdown View Source

Explicit lifecycle and readiness for a nested Docker engine.

Serialize ensure calls for a target in the host. The library makes no lifecycle call from a request handler and keeps no engine state.

Summary

Functions

Ensure that the chosen instance exists, belongs to this feature, is running and responds as a compatible engine. Return its observed Docker API range. Supply a host dialer and a finite Incus request context in the options.

Probe an already running engine explicitly, without starting or creating it.

Functions

ensure(target, specification, options)

Ensure that the chosen instance exists, belongs to this feature, is running and responds as a compatible engine. Return its observed Docker API range. Supply a host dialer and a finite Incus request context in the options.

readiness(target, options)

Probe an already running engine explicitly, without starting or creating it.