fix: not to use 'force' in container deletion

This commit is contained in:
wancat committed 2023-08-24 11:36:24 +08:00
1 parent 27f8525585
commit 3f50b99d1a
1 file changed
+2 -4
+2 -4
View File
@@ -73,10 +73,8 @@ export async function deleteContainer(id) {
} }
try { try {
await container.stop() await container.stop()
await container.remove({ await container.remove()
force: true,
})
} catch (error) { } catch (error) {
console.log(error) console.error(error)
} }
} }