When container awareness was added into OpenJDK 8, and OpenJDK 10, it was not on by default. Which means that certain specific builds of OpenJDK 8 and 10 do have to have this flag on for them to work on containers properly.
But latest versions of OpenJDK 8 and 10, and all releases after OpenJDK 11, have this flag on by default.
The nuance is: "which specific minor version of JDK 8 / 10 are you running?"