Other than local Fire Codes, the issue is how long you're going to go between replenishments? IF the reason for this is to get non-E fuel or if it's based more on octane rating for your vehicle(s)? Plus how temperature-stable the storage locatioin might be?
I found a great explanatin of fuel storage on the old Phillips66 Race Fuel website, about 20 years ago. Of course, the drum/copntainter must be capable of being "tightly sealed". One obvious reason for this is to minimize latent combustible vapors, but the other issue is that as the fuel might evaporate, the "more aromatic" portions of the fuel will evaporate first, which includes a good bit of the octane enhancers. Even if it might be "internal evaporation" in a part-full sealed container. Otherwise, the P66 website generally had a "30 days" best use recommentation, although in an tightly-sealed container, it could be more like 6 months or longer.
Some blends of higher-octane fuel typically had ethanol in them as an octane enhancer, which would be a smaller percentage than when it is used as a "fuel extended/oxygenate" additive now. Most everybody is now keyed upon the 'Can contain Ethanol up to ___%", which can be a state labelling situation, but not all states have this rule. End result, many "E-free" fuels can still have a small amount of E in them, but finding out just how much might be tricky. How much "phase separation" can, as a result, be variable, when the fuel is exposed to atmospheric moisture.
The "temperature stability" of the storage location is a factor, too. Other than just the normal hot/cold temps resulting in expansion/contraction of the container (even a steel drum), such temp swings can result in internal condensate forming on the uncovered internal surface area not touched by liquid fuel, just as in a vehicle's fuel tank. "Dilution" and especially "phase separation" can result.
On the
www.fuel-kits.com website, there used to be a procedure to "wash" ethanol from fuel. Effectively introducing water into the fuel, lettig it react to the ethanol, then draining off the "top" and leaving the ethanol/water combination at the bottom (phase separation) for safe, approved disposal. As I recall, this would result in a gasoline which was about 4 "numbers" less octane than when it started? Plus a bit more refined method to determine the possible ethanol percentage which the fuel started with?
In any potential gasoline which will be stored, check the MSDS for its "Flash Point" rating. I suspect it'll be higher than the typical ambient temp for your area, BUT that does not mean it might evaporate from an open container. Hopefully the storage venue will have good normal ventilation so that any evaporated vapors will be moved away from the container regularly, rather than allowing any vapors to accumulate and then possibly ignite.
Other than the fuel expansion/contraction issues, the fuel volatility issues can make storing less-volatile diesel fuel a good bit different than long-term storage of more volatile gasoline products.
Just some thoughts,
CBODY67