----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49546/#review140507 -----------------------------------------------------------
Fix it, then Ship it! src/docker/docker.cpp (line 677) <https://reviews.apache.org/r/49546/#comment205910> If all permissions are `false`, do we still want to include the ":" here? Does this work with docker? src/tests/containerizer/docker_tests.cpp (line 661) <https://reviews.apache.org/r/49546/#comment205911> Now I see why this is a little weird to have `NVIDIA_GPU` here. This isn't technically a GPU specific test -- it is valid for injecting any device into a docker container. If we wanted to make it non GPU specific. You could probe `/dev` for *some* device on the host that's not in docker's default whitelist for devices and inject that one instead. - Kevin Klues On July 2, 2016, 12:55 a.m., Benjamin Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/49546/ > ----------------------------------------------------------- > > (Updated July 2, 2016, 12:55 a.m.) > > > Review request for mesos and Kevin Klues. > > > Repository: mesos > > > Description > ------- > > Added device support to Docker::run. > > > Diffs > ----- > > src/docker/docker.hpp 4343213391bb9a86e87410ce3a2c5d8447a1ab8d > src/docker/docker.cpp b356848ea8f65b58102b26b38e2e753c4b665a4b > src/docker/executor.cpp 2089b547408a46c9b4fa91e3ab17b88f7d2d8397 > src/slave/containerizer/docker.cpp 915030bdbe5a5b55acc38042ee0475074a602ee0 > src/tests/containerizer/docker_containerizer_tests.cpp > f7b42836ceb80cdae901c4926bd702b6da36a55c > src/tests/containerizer/docker_tests.cpp > c0ff9574633f8f72ccae9b9298f3b60bc2f3cf81 > src/tests/mesos.hpp 3173bf9cfc832be0aa18d745434afc45d352a269 > src/tests/mesos.cpp a433e5b2775f1d62b18927cf71af23ef28d6a503 > > Diff: https://reviews.apache.org/r/49546/diff/ > > > Testing > ------- > > Added a test. > > > Thanks, > > Benjamin Mahler > >
