The sentence that contains a metaphor is: "A bear of a dog came walking down the street."
In this sentence, the phrase "a bear of a dog" uses a metaphor to describe the dog's large size by comparing it to a bear, rather than using a simile with "like" or "as."