Martin Tapp created MESOS-4587:
----------------------------------

             Summary: Docker environment variables must be able to contain the 
equal sign
                 Key: MESOS-4587
                 URL: https://issues.apache.org/jira/browse/MESOS-4587
             Project: Mesos
          Issue Type: Bug
          Components: docker
    Affects Versions: 0.25.0
            Reporter: Martin Tapp
            Priority: Minor


Note: Affects 0.26 and 0.27.

The Jupyter Docker all-spark-notebook uses equal sign ('=') in Docker ENV 
declarations (for instance, 
https://github.com/jupyter/docker-stacks/blob/master/all-spark-notebook/Dockerfile#L51).

This causes a mesos Unexpected Env format for 'ContainerConfig.Env' error.

The problem is the tokenization code at 
https://github.com/apache/mesos/blob/21e080c5ae6ef03556c7a2b588e034a916c7a05a/src/docker/docker.cpp#L386
 which needs to only look at the first equal sign. Docker ENV declarations can 
also be empty.



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

Reply via email to