pub async fn engines(cx: &Context) -> Vec<EngineStatus>Expand description
Every engine this computer has, one per context that names one or answers: probed one by one
with docker --context <c> info, given as long as any probe (Context::probe_timeout, as
daemon_os): a stopped engine fails fast, and one waking up (Docker Desktop’s Resource
Saver, a cold CLI on Windows) answers within it. A context that answers names its engine from the daemon’s operating system
too, so default on a Mac reads as the desktop app behind it; one that doesn’t is known by its
name alone. Two contexts to one engine keep the first (the current one first of all). None
when the contexts can’t be listed (no Docker CLI).