[ 
https://issues.apache.org/jira/browse/MESOS-6396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576144#comment-15576144
 ] 

Joseph Wu commented on MESOS-6396:
----------------------------------

The {{slavePreLaunchDockerEnvironmentDecorator}} Should fit your purposes.

> Hooks should allow sandbox dependent environment variables.
> -----------------------------------------------------------
>
>                 Key: MESOS-6396
>                 URL: https://issues.apache.org/jira/browse/MESOS-6396
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Till Toenshoff
>
> The {{slaveExecutorEnvironmentDecorator}} hook is the only one that allows 
> mutating the executor environment of a Docker container. That callback has no 
> means of getting the location of the sandbox. That in turn means that it is 
> not possible for a hook to create files and respective environment variables 
> listing  paths within the sandbox for the executor to access.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to