Upvote:4
You don't need a visa to transit Dubai if you do not need to leave the international transit area of the airport. In that respect it is like most of the world's airports.
If you want to leave the airport and visit Dubai during your layover, you will need to apply for a visa in advance. You can do this by visiting Manage a booking on the Emirates web site and entering in your details. You need to get this visa in advance; your nationality is not eligible for visa on arrival.