Question: what does it mean when your dog rubs against you?
Answer: A dog rubbing against you is a kind of hug, a sign of affection, just like it is for a cat. This is because dogs cannot hug with arms the way humans can, but the rub is a sign of trust and appreciation. Well cats do it for marking as in scent marking so your dog must be doing a like behavior.