Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5953

Default work dir is not root for unified containerizer and docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • containerization
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              gilbert Gilbert Song
              philwinder Philip Winder
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: