You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/02/04 02:45:11 UTC
[2/3] mesos git commit: Added protobuf fields for docker runtime
isolator.
Added protobuf fields for docker runtime isolator.
Review: https://reviews.apache.org/r/43022/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2d5d14f0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2d5d14f0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2d5d14f0
Branch: refs/heads/master
Commit: 2d5d14f092405c7971c21097820a91223b22ab27
Parents: aa1a27f
Author: Gilbert Song <so...@gmail.com>
Authored: Wed Feb 3 17:09:59 2016 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Feb 3 17:13:17 2016 -0800
----------------------------------------------------------------------
include/mesos/slave/isolator.proto | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/2d5d14f0/include/mesos/slave/isolator.proto
----------------------------------------------------------------------
diff --git a/include/mesos/slave/isolator.proto b/include/mesos/slave/isolator.proto
index 0e2dd9b..5a44b68 100644
--- a/include/mesos/slave/isolator.proto
+++ b/include/mesos/slave/isolator.proto
@@ -115,4 +115,13 @@ message ContainerLaunchInfo
// (Linux only) The namespaces required for the container.
// The namespaces are created while launching the executor.
optional uint32 namespaces = 4 [default = 0];
+
+ // If specified, it'll become the launch command for the custom
+ // executor, or the launch command for the user task in the case of
+ // a command task.
+ optional CommandInfo command = 5;
+
+ // The working directory for the container.
+ // NOTE: This is different than Mesos sandbox.
+ optional string working_directory = 6;
}