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

Method Start

libcontainer/container_linux.go:205–209  ·  view source on GitHub ↗

Start starts a process inside the container. Returns error if process fails to start. You can track process lifecycle with passed Process structure.

(process *Process)

Source from the content-addressed store, hash-verified

203// Start starts a process inside the container. Returns error if process fails
204// to start. You can track process lifecycle with passed Process structure.
205func (c *Container) Start(process *Process) error {
206 c.m.Lock()
207 defer c.m.Unlock()
208 return c.start(process)
209}
210
211// Run immediately starts the process inside the container. Returns an error if
212// the process fails to start. It does not block waiting for the exec fifo

Callers 10

runMethod · 0.80
criuSwrkMethod · 0.80
startWithCPUAffinityMethod · 0.80
startMethod · 0.80
RunMethod · 0.80
TestNsenterValidPathsFunction · 0.80
TestNsenterInvalidPathsFunction · 0.80
TestNsenterChildLoggingFunction · 0.80
supportsIDMapFunction · 0.80

Calls 1

startMethod · 0.95

Tested by 4

TestNsenterValidPathsFunction · 0.64
TestNsenterInvalidPathsFunction · 0.64
TestNsenterChildLoggingFunction · 0.64