Freeze 4 small glasses or ramekins until cold. Put the coconut milk, ice water, vanilla and a pinch of salt in a blender. Add the pineapple and blend, stirring as necessary, until smooth. Working quickly, spoon the soft serve into a piping bag fitted with a 1/2-inch plain tip and pipe it into the cold cups. Serve immediately.