I don't see even in China, resorting to police violence in such condition.
Since India doesn't do this regularly, they have to give a crash course to people who think that the law won't touch them
That too could be challenged, I doubt if all those quarantined, isolated etc in India has been given formal quarantine orders, considering the chaos at airports.
And additionally at this juncture government wouldn't want to overcrowd the prisons at this point of time.