David McKinley created MESOS-2674:
-------------------------------------
Summary: Healthcheck command needs to be able to execute inside
task container
Key: MESOS-2674
URL: https://issues.apache.org/jira/browse/MESOS-2674
Project: Mesos
Issue Type: Improvement
Components: docker
Affects Versions: 0.22.0
Reporter: David McKinley
When using the docker containerizer, executing a healthcheck command outside of
the container running the task is not ideal. In some environments, such as
CoreOS, the mesos-slave may be running in its own container, so then the
healthcheck command runs in a separate container from the task.
There needs to be a way to run commands within the deployed task container,
which can do the health assessment. If the container ID was available to the
command (e.g., as an environment variable), this could potentially be
accomplished by running a "docker exec" command for the Healthcheck. A cleaner
solution, though, would cause the user-specified command to directly run within
the appropriate container for the task.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)