Java inside docker: What you must know to not FAIL | Red Hat Developer

TIL: (but I didn’t want to!) – To configure your Java/JVM based apps to run in a container (Linux cgroup) environment correctly set these JVM options:

-XX:+UnlockExperimentalVMOptions and -XX:+UseCGroupMemoryLimitForHeap

If you don’t, the JVM does stupid shit πŸ˜… #Java #Docker #Linux #Containers

​ Read More