MCPcopy
hub / github.com/opencontainers/runc / destroy

Method destroy

utils_linux.go:315–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313}
314
315func (r *runner) destroy() {
316 if r.shouldDestroy {
317 if err := r.container.Destroy(); err != nil {
318 logrus.Warn(err)
319 }
320 }
321}
322
323func (r *runner) terminate(p *libcontainer.Process) {
324 _ = p.Signal(unix.SIGKILL)

Callers 1

runMethod · 0.95

Calls 1

DestroyMethod · 0.45

Tested by

no test coverage detected