Dog dreams often have to do with the basic instinct towards friendship, loyalty, and protection.
Sometimes the dog will represent you, the dreamer, while other times they will stand in for people in your life.
Aggressive dogs in dreams have a variety of meanings depending on context.