Introduce terminationMessagePath to Container, and update validate code
to assign the default path.