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

Gilbert Song edited comment on MESOS-4888 at 3/9/16 5:56 PM:
-------------------------------------------------------------

https://reviews.apache.org/r/44468/



was (Author: gilbert):
https://reviews.apache.org/r/44468/
https://reviews.apache.org/r/44469/

> Default cmd is executed as an incorrect command.
> ------------------------------------------------
>
>                 Key: MESOS-4888
>                 URL: https://issues.apache.org/jira/browse/MESOS-4888
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>            Reporter: Gilbert Song
>            Assignee: Gilbert Song
>              Labels: containerizer, mesosphere
>
> When mesos containerizer launch a container using a docker image, which only 
> container default Cmd. The executable command is is a incorrect sequence. For 
> example:
> If an image default entrypoint is null, cmd is "sh", user defines 
> shell=false, value is none, and arguments as [-c, echo 'hello world']. The 
> executable command is `[sh, -c, echo 'hello world', sh]`, which is incorrect. 
> It should be `[sh, sh, -c, echo 'hello world']` instead.
> This problem is only exposed for the case: sh=0, value=0, argv=1, 
> entrypoint=0, cmd=1. 



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

Reply via email to