This repository was archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
Spawn
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013
·
1 revision
Spawn a job inside a container.
TODO Talk about nomenclature (what is a job).
The specified script is interpreted by /bin/bash inside the container.
-
handle: Container handle. -
script: Script to execute. -
privileged: Whether to run the script as root or not. -
rlimits: Resource limits (seeResourceLimits).
-
job_id: Job ID.
- When
handledoes not refer to a container.
package warden;
message SpawnRequest {
required string handle = 1;
required string script = 2;
optional bool privileged = 3 [default = false];
optional ResourceLimits rlimits = 4;
}
message SpawnResponse {
required uint32 job_id = 1;
}