*Dairy-Free:
Besides dairy-free margarine, you can use refined coconut oil, which does not have that strong coconut flavor like organic coconut oil. The more refined the oil, the less coconut flavor. Some have no coconut flavor if you mix it with ingredients like chocolate.
**For Egg-Free:
Replace each egg with 2 tablespoons liquid from a can of cannellini beans + 1 additional tablespoon of butter or margarine.
https://glutenfreerecipebox.com/gluten-free-chocolate-sour-cream-cake/