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

Method destroy

libcontainer/state_linux.go:134–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (r *runningState) destroy() error {
135 if r.c.hasInit() {
136 return ErrRunning
137 }
138 return destroy(r.c)
139}
140
141type createdState struct {
142 c *Container

Callers

nothing calls this directly

Calls 2

destroyFunction · 0.85
hasInitMethod · 0.80

Tested by

no test coverage detected