[
https://issues.apache.org/jira/browse/MESOS-5953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Winder updated MESOS-5953:
---------------------------------
Description:
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.
was:
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.
> 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)