-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65147/
-----------------------------------------------------------
Review request for mesos, Akash Gupta, Jie Yu, and Joseph Wu.
Bugs: MESOS-8443
https://issues.apache.org/jira/browse/MESOS-8443
Repository: mesos
Description
-------
`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`.
Diffs
-----
src/slave/containerizer/docker.cpp b42fe1f4b7151ee5cb1d7c680c7c0237882bd4bb
Diff: https://reviews.apache.org/r/65147/diff/1/
Testing
-------
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 (results pending, prior build with `os::which` changes
passed tests)
Thanks,
Andrew Schwartzmeyer