Morning all, I have got something working but I don't think it is a particularly good implementation at the moment so perhaps not ready for a pull request.
It can be reviewed here:
I left the windows implementation to one side for the moment - this can be tested and issues resolved hopefully without too much fuss (the use docker button won't be visible on windows unless some trivial hide code is removed).
Regarding a better way of integrating docker like bluecfd and bashwsl - should those two stay? Or is it better to remove them and move everything to docker as we should be able to get it working on windows, linux and mac?
In this, paraview from the docker distribution is used so that all the environment variables are set correctly.
Hopefully this impementation doesn't mangle the existing code too much.
Note the report view gives strange error messsages while foam is running, but the simulation seems to be running correctly.
In summary, to do:
a) Test / make work on windows
b) Test I haven't broken anything on non-docker running
c) Clean up the integration so it is like bluecfd and doesn't use the Dockercontainer.usedocker bit (or is this ok and delete the bluecfd?)
d) Fix the error messages while running foam process