We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 989a307 commit ae6202eCopy full SHA for ae6202e
src/api/docker.ts
@@ -196,7 +196,7 @@ export function killContainer(id: string): Promise<void> {
196
if (containerInfo.State.Status === 'exited') {
197
return container.remove();
198
} else if (containerInfo.State.Status === 'running') {
199
- return container.kill();
+ return container.stop().then(c => c.remove());
200
} else {
201
return Promise.resolve();
202
}
0 commit comments