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

Method Exec

libcontainer/container_linux.go:227–231  ·  view source on GitHub ↗

Exec signals the container to exec the users process at the end of the init.

()

Source from the content-addressed store, hash-verified

225
226// Exec signals the container to exec the users process at the end of the init.
227func (c *Container) Exec() error {
228 c.m.Lock()
229 defer c.m.Unlock()
230 return c.exec()
231}
232
233func (c *Container) exec() error {
234 path := filepath.Join(c.stateDir, execFifoFilename)

Callers 2

start.goFile · 0.80
ExecFunction · 0.80

Calls 1

execMethod · 0.95

Tested by

no test coverage detected