Joseph Wu created MESOS-4234:
--------------------------------
Summary: Add tests for running Docker in Docker
Key: MESOS-4234
URL: https://issues.apache.org/jira/browse/MESOS-4234
Project: Mesos
Issue Type: Improvement
Components: containerization, docker, test
Reporter: Joseph Wu
When the Mesos agent is itself running in a Docker container, the Docker
containerizer will spawn executors as additional containers (rather than as a
subprocess). This prevents executors from dying if the agent dies.
There are currently no automated tests for this code path, particularly because
the test setup is particularly expensive. A test would need to:
* Create a Docker image.
* Compile Mesos inside the Docker image.
* Spin up agents inside Docker containers.
* Clean up properly.
These tests are currently done manually
([example|https://reviews.apache.org/r/41560/]). Similar tests should be
codified and added as regression tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)