Thanks God you are not the owner!
Why are you afraid of dogs anyway? They won't hurt if you trat them well (most of them). And there are much scarier things in Doha to be afraid of, and they are humans. And they are allowed to live anywhere.

But to answer to the main question, as tallg said, it really depends on the owner. In my apartment is allowed, in my friend's apartment it's not.