Chop the pineapple into bite size pieces and add to blender. Top with the ice cream and blend until combined. Add coconut milk a little at a time while blending to smooth out the mixture.
Dump in the shredded coconut and pulse a few times.
If desired, core a fresh pineapple and serve milkshakes in a hollowed out pineapple as a fun summer treat!