[ARVADOS] created: ad22f6522f3cc6840f64202774e0422b59711215

Git user git at public.curoverse.com
Wed Sep 14 10:24:22 EDT 2016


        at  ad22f6522f3cc6840f64202774e0422b59711215 (commit)


commit ad22f6522f3cc6840f64202774e0422b59711215
Author: radhika <radhika at curoverse.com>
Date:   Wed Sep 14 09:14:28 2016 -0400

    9836: Add container reuse to ContainerRequest documentation.

diff --git a/doc/api/schema/ContainerRequest.html.textile.liquid b/doc/api/schema/ContainerRequest.html.textile.liquid
index 06dbc61..105c5bf 100644
--- a/doc/api/schema/ContainerRequest.html.textile.liquid
+++ b/doc/api/schema/ContainerRequest.html.textile.liquid
@@ -28,7 +28,8 @@ table(table table-bordered table-condensed).
 |properties|hash|Client-defined structured data that does not affect how the container is run.||
 |state|string|The allowed states are "Uncommitted", "Committed", and "Final".|Once a request is Committed, the only attributes that can be modified are priority, container_uuid, and container_count_max. A request in the "Final" state cannot have any of its functional parts modified (i.e., only name, description, and properties fields can be modified).|
 |requesting_container_uuid|string|The uuid of the parent container that created this container_request, if any. Represents a process tree.|The priority of this container_request is inherited from the parent container, if the parent container is cancelled, this container_request will be cancelled as well.|
-|container_uuid|string|The container that satisfies this container_request.||
+|container_uuid|string|UUID of the container that satisfies this container_request.
+The system will try to find and reuse any preexisting Container with the same command, cwd, environment, output_path, container_image, mounts, and runtime_constraints as this ContainerRequest. The serialized fields environment, mounts and runtime_constraints are sorted to facilitate comparison.|Currently, container reuse is the default behavior and a mechanism to skip reuse is not supported.|
 |container_count_max|integer|Maximum number of containers to start, i.e., the maximum number of "attempts" to be made.||
 |mounts|hash|Objects to attach to the container's filesystem and stdin/stdout.|See "Mount types":#mount_types for more details.|
 |runtime_constraints|hash|Restrict the container's access to compute resources and the outside world.|Required when in "Committed" state. e.g.,<pre><code>{

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list