HomminLee opened a new issue #7712:
URL: https://github.com/apache/dolphinscheduler/issues/7712


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   docker version: 20.10.12
   docker-compose version: v2.1.1
   
   After pull 
`dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler:latest`, I use 
command `docker-compose up -d` to build docker containers, but I get exception 
log:
   
   ```
   unexpected character "-" in variable name near "-Xmx1g 
-Xmn512m\nMASTER_EXEC_THREADS=100\nMASTER_EXEC_TASK_NUM=20\nMASTER_DISPATCH_TASK_NUM=3\nMASTER_HOST_SELECTOR=LowerWeight\nMASTER_HEARTBEAT_INTERVAL=10\nMASTER_TASK_COMMIT_RETRYTIMES=5\nMASTER_TASK_COMMIT_INTERVAL=1000\nMASTER_MAX_CPULOAD_AVG=-1\nMASTER_RESERVED_MEMORY=0.3...
   ...
   ```
   
   > BTW, I change docker-compose version to 1.29.2, command `docker-compose up 
-d` will work well.
   
   I read the `config.env.sh`, I think this may be the effect of blank space. 
(The jvm properties contain blank space, like `MASTER_SERVER_OPTS=-Xms1g -Xmx1g 
-Xmn512m`)
   
   
   
   
   
   ### What you expected to happen
   
   Quickly install DolphinScheduler by docker-compose.
   
   ### How to reproduce
   
   Install docker(version=20.10.12)
   Install docker-compose(version=v2.1.1)
   
   Follow this step: 
https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/docker.html
   You will get error when run command `docker-compose up -d`.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.1
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to