Hi Stu.
Now that's a nice powder flask!! And just the right size. Not too large. I agree, it's likely Moroccan (or possibly Algerian) - but yes, I think it's Moroccan. And it even has it's cap and chain still intact. That flask would look real good with one of my Moroccan or Algerian guns.

Nice find!!
Rick.