feat(FN-3110): add docker provisioning service, API routes, and status UI c

Merges FN-3110 to add Docker provisioning support across the stack: TypeScript types and DockerProvisioningService in core, API routes in dashboard for provisioning operations, a useDockerProvisioning hook for frontend integration, and a DockerProvisioningStatus UI component — all covered by unit an

Fusion-Task-Id: FN-3110
This commit is contained in:
Fusion
2026-05-03 14:10:11 -07:00
committed by gsxdsm
parent 9309c8cc95
commit 0568d5d41b
13 changed files with 2430 additions and 0 deletions

View File

@@ -152,6 +152,18 @@ export class DockerClientService {
}
}
/**
* Get a Docker instance for the given host config.
* If no host config is provided, uses the default config (cached).
* Otherwise creates a fresh instance for the custom config.
*/
async getDockerInstance(hostConfig?: DockerHostConfig): Promise<Docker> {
if (!hostConfig || hostConfig === this.defaultHostConfig) {
return this.getInstance();
}
return this.createDockerInstance(hostConfig);
}
async getContainerInfo(containerId: string): Promise<DockerContainerInspectResult | null> {
try {
const docker = await this.getInstance();