mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Song <>
Subject Re: Review Request 61602: Fixed mesos containerizer to support docker image WORKDIR missing.
Date Thu, 17 Aug 2017 03:33:28 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 16, 2017, 8:33 p.m.)

Review request for mesos, Jie Yu, Kevin Klues, and Qian Zhang.

Bugs: MESOS-7652

Repository: mesos


Some docker image may have 'WORKDIR' set in its manifest but that
'WORKDIR' does not exist in the image rootfs (e.g., the workdir
is removed in the following dockerfile).

>From the reference of dockerfile, "If the WORKDIR doesn’t exist,
it will be created even if it’s not used in any subsequent
Dockerfile instruction". So we should create the working directory
if it does not exist in the image's rootfs.

Diffs (updated)

  src/slave/containerizer/mesos/launch.cpp 8e662931697a2f20e0ac1e80a2911b96f646b5af 





Manually tested using '' docker image.


Gilbert Song

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message