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

Avinash Sridharan edited comment on MESOS-5953 at 8/1/16 4:09 PM:
------------------------------------------------------------------

But I think that is the problem that [~philwinder] was alluding to, that 
certain Dockerfile assume that the working directory is `/`, when the WORKDIR 
is not specified? 


was (Author: [email protected]):
But I think that is the problem that [~philwinder] was adhering to, that 
certain Dockerfile assume that the working directory is `/`, when the WORKDIR 
is not specified? 

> Default work dir is not root for unified containerizer and docker
> -----------------------------------------------------------------
>
>                 Key: MESOS-5953
>                 URL: https://issues.apache.org/jira/browse/MESOS-5953
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 1.0.0
>            Reporter: Philip Winder
>
> According to the docker spec, the default working directory (WORKDIR) is root 
> /. https://docs.docker.com/engine/reference/run/#/workdir
> The unified containerizer with the docker runtime isolator sets the default 
> working directory to /tmp/mesos/sandbox.
> Hence, dockerfiles that are relying on the default workdir will not work 
> because the pwd is changed by mesos.



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

Reply via email to