We are not people that work for Apple, are not lawyers (or not your lawyers), and are not legal advice.
ivasankarm wrote:
How many virtual machines are allowed to run legally for commercial purposes?
That varies.
Read the software licensing agreement (SLA) for the version(s) of interest.
Legal - Software License Agreements - Apple
Is it possible to run Mac OS guest in a Linux host on Mac Hardware?
That’s more a question of the hypervisor involved, than of which of the many Linux distros involved. Try it.
Or run a “bare metal” hypervisor, and let that deal with the underlying host.
Can we form a Mac OS cluster for commercial purposes?
macOS doesn’t really cluster. Not past Xsan, and that’s fairly limited in its capabilities.
As for permissible usage, read the SLAs.
Is there any way to run Mac OS in a container?
Operating systems are rarely run within containers, regardless of platform. Apps, yes. OSes, no.
Containers typically share an operating system, variously for perceived efficiencies, or for licensing arbitrage, or otherwise.
Running an OS in a container would necessarily entail running running a hypervisor in the container, and that just adds more stuff and more complexity. Contrary to the usual usage of containers; just run it all as an additional guest of whatever hypervisor is underneath hosting the OS with the containers.