10” in diameter x 17” tall is 1335 cubic inches
1 US gallon is 231 cubic inches

A cylinder with your dimensions is a little over 5 gallons (5.77 gallons)

Hope this helps