The officer responded to a call about a loose dog growling at people near a car wash in Brentwood Tuesday afternoon.
A witness managed to calm the dog down with food.
But when the officer tried to read the dog's tag, it bit him.
The officer shot the dog, but it got back up and attacked him again.
A second shot killed the dog.
Police don't have the owner's information or the breed.