Buy animal treats at a supermarket or gas station counter. Toss one to a guard dog or feed it during the interaction to try to calm it down.
Location and access
Before entering a hideout, find treats on the clerk’s list alongside the other consumables. Toss one if the dog is out of reach, or hand-feed it once you can interact.

What to do
MeinMMO’s test calmed two dogs at a hideout. They stopped barking and followed the character. A third dog that missed out still raised the alarm. Check the perimeter for other dogs before heading in.