mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schwartzmeyer <>
Subject Re: Review Request 65147: Windows: Fixed docker executor `PATH` variable.
Date Sat, 13 Jan 2018 06:31:31 GMT

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

(Updated Jan. 12, 2018, 10:31 p.m.)

Review request for mesos, Akash Gupta, Jie Yu, and Joseph Wu.


Skip the enable `INTERNET` filter tests because they fail on the bot, and aren't necessary.

Bugs: MESOS-8443

Repository: mesos


`docker` isn't always installed in `os::host_default_path()` on Windows,
so the docker executor cannot find it. Now, before launching the
executor, the mesos agent finds `docker`'s parent directory and appends
that to `PATH`.


  src/slave/containerizer/docker.cpp b42fe1f4b7151ee5cb1d7c680c7c0237882bd4bb 



Tested on Windows 10, all passed.

Integration tested (courtsey of Akash) that Docker containers can be launched without manually
fixing the path.

`make check` on CentOS 7, all passed.

NOTE: This is Windows-only, and replaces [#64570]( Joseph
and I worked out this approach to prevent a regression for Mesos customers moving from `1.4`
to `1.5`; see MESOS-8443 for details.


Andrew Schwartzmeyer

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