Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func New ¶
func New(command string, args []string, uid int, root string, volumes []VolumePair) (*Runtime, error)
New creates a new container with the given command and arguments.
func (*Runtime) Exec ¶
Exec executes the container's command with the given arguments and forwards the standard input, output and error streams.
type VolumePair ¶
Click to show internal directories.
Click to hide internal directories.