Is Docker the right tool to do platform compatibility testing

Hi All,

Here is my requirement , I would like to do app testing across diff versions of os like for ex RHEL ( 5.7 till 6.6 ) , so since we have to test for each version to assure the app behavior is consistent across the different flavors , would docker be a right choice ?? .
if I have to create 12 containers for 12 testing versions of OS it doesn’t make sense.
My request is the other way , where the app is constant but the OS is different ( normally container works well with OS constant , app layer / env changing).