Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4888

Default cmd is executed as an incorrect command.

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gilbert Gilbert Song
              gilbert Gilbert Song
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: