@afilina It for sure is. (https://en.wikipedia.org/wiki/Gallon) but still: Why 8? Why not 7? or 9? Usually there's a reason behind these connections that somehow got lost over time.
Perhaps the size of a jug still carryable for a 10 year old kid when serving in a pub?