An explosion on a container ship docked at Dubai's Jebel Ali port late Wednesday caused a large fire and was felt across the city, authorities said.