[ 
https://issues.apache.org/jira/browse/MESOS-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292484#comment-15292484
 ] 

Guangya Liu commented on MESOS-5278:
------------------------------------

[~jieyu] , one question want to get some help from you:

1) The "mesos ps" can get all containers from the mesos cluster, so the 
operator can run this command on any host in the mesos cluster.
2) for the new introduced CLI "mesos enter", as we need call {{setns}} to enter 
the container and {{execvp}} to run the command in the container, seems this 
command needs to be run on the agent where the container is running; otherwise, 
we may need some logic to ssh to the agent where the container is running first.

Any comments?

[~idownes] what is the behaviour of your internal {{mesos enter}}? Thanks.


> Add a CLI allowing a user to enter a container.
> -----------------------------------------------
>
>                 Key: MESOS-5278
>                 URL: https://issues.apache.org/jira/browse/MESOS-5278
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Jie Yu
>            Assignee: Guangya Liu
>
> Containers created by the unified containerizer (Mesos containerizer) uses 
> various namespaces (e.g., mount, network, etc.).
> To improve debugability, we should create a CLI that allows an operator or a 
> user to enter the namespaces associated with the container, and execute an 
> arbitrary command in that container (similar to `docker exec`).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to