With something balanced on his dogs nose this soldier - possibly an engineer or artilleryman - seems to indeed to be
demonstrating his canine companions abilities in the performing arts.

Unmounted Photograph
2 1/4 inches by 3 1/2 inches (6 cm x 9 cm)
Unknown Photographer
Great Britian
c. 1880