The difference lies in their subspecies classification:
* Gray wolf: Canis lupus lupus
* Common dog: Canis lupus familiaris
This means that dogs are actually a domesticated subspecies of gray wolves. They are genetically very similar and can even interbreed.
So, the gray wolf and a common dog share all taxonomic classifications except for their subspecies designation.