Amazon Corretto 8 Container awareness

  amazon-web-services, corretto, docker, java

After reading all AWS Documentation about Amazon Corretto, I have found no clue of JVM options to enable container awareness (if it is not enabled by default) and option names to control container memory usage ratio for heap when running on a (Docker) container.

Does anyone knows how to configure these options?

Source: StackOverflow