Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013 · 1 revision

Run a job inside a container.

This request is equivalent to spawning a job and immediately linking to it.

See Spawn and Link for a description of the request and response.

Errors

  • When handle does not refer to a container.

Definition

package warden;

message RunRequest {
  required string handle = 1;

  required string script = 2;
  optional bool privileged = 3 [default = false];
  optional ResourceLimits rlimits = 4;
}

message RunResponse {
  optional uint32 exit_status = 1;
  optional string stdout = 2;
  optional string stderr = 3;
}

Clone this wiki locally