Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.22.0
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
MESOS-3136 COMMAND health checks with Marathon 0.10.0 are broken
- Resolved