Project: mesos
Issue MESOS-4888: Default cmd is executed as an incorrect command.
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.
Story points: 2