This Epic coordinates the design of new Agent APIs for attaching a remote client to the stdin, stdout, and stderr of a running Mesos task. It also outlines an API for launching new processes inside the same container as a running Mesos task and attaching to its stdin, stdout, and stderr. At a high level, these APIs mimic functionality similar to docker attach and docker exec.
The primary motivation for such functionality is to enable users to debug their running Mesos tasks more easily. Specifically, these APIs will allow us to prod and probe the container of a running Mesos task by (for example) navigating its file system using an interactive bash shell or attaching gdb to any processes already running inside the container.