You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2016/03/07 22:17:40 UTC
[jira] [Created] (MESOS-4888) Default cmd is executed as an
incorrect command.
Gilbert Song created MESOS-4888:
-----------------------------------
Summary: 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
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)