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.