(containerInfo: ContainerInfo)
| 4 | import InstanceSubsystem from "./system_instance"; |
| 5 | |
| 6 | async function killContainer(containerInfo: ContainerInfo) { |
| 7 | const docker = new DefaultDocker(); |
| 8 | const container = docker.getContainer(containerInfo.Id); |
| 9 | container.kill().catch(() => {}); |
| 10 | container.remove().catch(() => {}); |
| 11 | } |
| 12 | |
| 13 | export default async function takeoverContainer() { |
| 14 | const docker = new DefaultDocker(); |
no test coverage detected