MCPcopy Create free account
hub / github.com/cloudfoundry/garden / Run

Method Run

container.go:99–99  ·  view source on GitHub ↗

Run a script inside a container. The root user will be mapped to a non-root UID in the host unless the container (not this process) was created with 'privileged' true. Errors: * TODO.

(ProcessSpec, ProcessIO)

Source from the content-addressed store, hash-verified

97 // Errors:
98 // * TODO.
99 Run(ProcessSpec, ProcessIO) (Process, error)
100
101 // Attach starts streaming the output back to the client from a specified process.
102 //

Callers 3

server_test.goFile · 0.65
handleRunMethod · 0.65

Implementers 2

FakeContainergardenfakes/fake_container.go
containerclient/container.go

Calls

no outgoing calls

Tested by

no test coverage detected