Are there any recommendations for setting up the JAVA machine when launching a camunda in a container docker or in a container that has already been deployed optimally?
it depends on your hardware. You can take a look at sample containers here:
Hope that helps,
If I have 4 processors and 8 gigabytes of memory.