skip to Main Content

How to run multiple JVM params in docker-compose?

I got this list of JVM params from the following answer https://stackoverflow.com/a/35108974/7809534: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false And I would like to run them in docker-compose. This is what I tried: environment: - JAVA_TOOL_OPTIONS="-Dcom.sun.management.jmxremote" - JAVA_TOOL_OPTIONS="-Dcom.sun.management.jmxremote.port=9010" - JAVA_TOOL_OPTIONS="-Dcom.sun.management.jmxremote.local.only=false" - JAVA_TOOL_OPTIONS="-Dcom.sun.management.jmxremote.authenticate=false"…

VIEW QUESTION
Back To Top
Search