Project: mesos
Issue MESOS-2349: Provide a way to execute an arbitrary process in a MesosContainerizer container context
Include a separate binary that when provided with a container_id, path to an executable, and optional arguments will find the container context, enter it, and exec the executable. e.g., {noformat} mesos-container-exec --container_id=abc123 [--] /path/to/executable [arg1 ...] {noformat} This need only support (initially) containers created with the MesosContainerizer and will support all isolators shipped with Mesos, i.e., it should find and enter the cgroups and namespaces for the running executor of the specified container.
Story points: 5