For a 2D body and 9.6V bulb which you're planning to drive around 10.8V...
6 AAA cells will fit in to the space of a D. Actually 7 will fit, but then there is almost no space for support structure (ie the battery adapter/holder). 6 is a comfortable fit. So you can get up to 12 in a 2D body. With NiMH, that's 14.4V. So you just replace 3 spaces with dummy cells and get a nominal 10.8V or about 11.7V fresh, but not hot, off the charger. You can get AAA NiMH cells that hold 900mAh. Nominal 9.72Wh. Don't bother with alkaline as they will not do well under such a load.
2 CR123 cells will fit side-by-side in the space of a D cell. 3 CR123 will fit within the length of 2 D cells. That allows 6 CR123 cells to be used.
Looking at primary CR123s.
6 cells gives you 18V total, way too much. If you run 2 parallel banks of 3 cells, you get nominal 9V. Not quite enough. So you need to run 4 in series for 12V. I'm not sure if that will blow your bulb though. With 1A drain, the energizer data sheet suggests that it can give 850mAh with nominal voltage of 2.8V per cell or 11.2V total. Nominal 9.85Wh.
Rechargeable 123s as available from Juice, JSBurlys, JayCar electronics, etc.
Nominal 4V, so you can get 12V from 3 cells. This means you can use 2 banks of 3 cells. Since the capacity is rated at 600mAh, this will give you 1200mAh in total. Assume that the nominal voltage through the run time is 3.7V as is usually specified. Nominal 13.32Wh
Looked at CR2 cells, thinking to put 2 banks of 4. Just slightly over the length of 2 D cells. Possible to implement if you don't mind cutting down the stock spring. But at 1A drain, nominal 2.8V per cell over discharge period of 0.37hr, so 8 cells would have nominal 8.28Wh. Not worth the trouble.
With luck and very careful work, sometimes you can squeeze in 4 AA cells in the space of 2D cells. It depends on which batch of Mags you got. 8 primary cells gives you 12V nominal, 8 rechargeables give 9.6V or 10V if freshly charged. This is your best option because any way you look at it, you not only get the best capacities, but also the widest choice of chemistries, with lithium and Ni-xx being able to deliver lots of amps without undue voltage sag or high internal resistance penalties.
Unfortunately it is highly dependant on the internal diameter of your Mag, though if it is too small, there are several members here with lathes. They can bore out the tube just enough to fit 4 AAs.
Hope all this information helps.