You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2016/08/01 15:00:24 UTC

[jira] [Commented] (MESOS-5953) Default work dir is not root for unified containerizer and docker

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

haosdent commented on MESOS-5953:
---------------------------------

[~philwinder]  /tmp/mesos/sandbox should be /mnt/mesos/sandbox ?

> 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)