Combine the first 4 ingredients in a pot and let simmer for 5 minutes until the onions begin to brown. Add the stock, carrots, and coconut milk and bring to a boil. Reduce heat and let simmer for 20 minutes. Blend fully with an immersion blender or transferring to a food processor in batches, and warming again as needed.