White potatoes belong to the nightshade family of vegetables, which includes tomatoes. Like tomatoes, raw potatoes contain solanine, a compound that is toxic to some dogs. However, cooking a potato reduces the levels of solanine. If you do feed your dog a potato, it should be baked or boiled, with nothing added to it.
More useful articles on a similar topic 👇
How long do baked potatoes last for dogs?Can dog food allergies cause upset stomachs?