Need a solution like that, but impossible on my bike.
Our terrier is very jealous of my emtb. His logic is that all recreational outings must involve canines.
Harsh words were exchanged and... tires pissed on.
If I could take him with me, I'd have other problems, I suppose.