FrankChen021 opened a new issue #11859: URL: https://github.com/apache/druid/issues/11859
For short, **DO NOT** upgrade your Docker Desktop for Mac to versions above 4.0.0 ## Description I updated my Docker Desktop for mac(Intel Chip) to the latest 4.1.1(because it always reminds me of the upgrade), but found that the integration test could not be started due to spaces in environment variables values. And the Docker can start up if Docker Desktop 4.0.0 or previous version is used. Below is the variable definition where the error is reported https://github.com/apache/druid/blob/33d9d9bd74ade384ef5feb31748b989122deb160/integration-tests/docker/environment-configs/common#L25 When starting the docker-compose, it says ```bash unexpected character "-" in variable name near "-Dfile.encoding=UTF-8 ..... ``` And if the variable value is quoted, there's no such error. ``` COMMON_DRUID_JAVA_OPTS="-Duser.timezone=UTC -Dfile.encoding=UTF-8 ...." ``` I don't want to fix our scripts to make it compatible with Docker Desktop 4.1.1 because we have to test the changes for different docker versions and different platforms. Another reason is I have no idea how to make following variable value to be compatible. Looks like a little bit tricky. ```bash druid_indexer_runner_javaOptsArray=["-server", "-Xmx256m", "-Xms256m", "-XX:NewSize=128m", "-XX:MaxNewSize=128m", "-XX:+UseG1GC", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Dlog4j.configurationFile=/shared/docker/lib/log4j2.xml"] ``` So I opened an [issue](https://github.com/docker/for-mac/issues/6025) at Docker side so that we can see what response we can get from Docker team. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
