The dollar is often the dog while oil is the tail. In other words, a weak dollar often leads to higher oil prices (and commodity prices in general) while at times of supply disruption or geopolitical conflict, it is usually oil which takes the lead. We are in one of those circumstances now.
Here is a chart dating back three years to give you an idea how the two markets wax and wane as far as correlation.