Ice cream isn't a dog-friendly food, but vanilla ice cream might be the safest flavor to share with your dog.
First, keep in mind that some dogs are lactose intolerant and should never have Ice cream.
But if you do want to share your desert, keep it to a small amount of vanilla ice cream once in a blue moon.