MCPcopy Index your code
hub / github.com/coder/mux / removeProvisioningContainer

Method removeProvisioningContainer

src/node/runtime/DockerRuntime.ts:819–824  ·  view source on GitHub ↗
(containerName: string)

Source from the content-addressed store, hash-verified

817 }
818
819 private async removeProvisioningContainer(containerName: string): Promise<void> {
820 const removeResult = await runDockerCommand(`docker rm -f ${containerName}`, 10000);
821 if (removeResult.exitCode !== 0) {
822 throw new Error(removeResult.stderr || removeResult.stdout || "docker rm failed");
823 }
824 }
825
826 private async syncProjectToContainer(
827 projectPath: string,

Callers 1

Calls 1

runDockerCommandFunction · 0.85

Tested by

no test coverage detected