MCPcopy Create free account
hub / github.com/Sagyam/linite / stopContainer

Function stopContainer

scripts/validate-seed-docker.ts:249–251  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

247
248// Stop and remove Docker container
249function stopContainer(name: string): void {
250 spawnSync('docker', ['rm', '-f', name], { stdio: 'ignore' });
251}
252
253// Setup cleanup on exit
254function setupCleanup() {

Callers 2

cleanupFunction · 0.85
validateSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected