Depending on how you run your container, this can be different.
How it works
The ProcessTreeKiller takes advantage of the fact that by default a new process gets a copy of the environment variables of its spawning/creating process.
A convenient way to achieve that is to change some of the environment variables Hudson look for's ProcessTreeKiller is looking. This will cause Hudson to assume that your daemon is not spawned by the Hudson build. For example: