Por-15
https://por15.com/
I can't vouch for it as non-toxic but it really works, and I recommend further investigation before using it to grow food.
I used it to coat the steel I welded together to make my own solar panel frame(to mount them and be able to tilt them)
And to coat a truck rack I made to haul tepee poles with.
Point of it was to keep the steel from rusting.
I'm not sure I'd grow food in a container coated with it, but fr other purposes people should know about it.
Also you can add other coatings on top of it.
Maybe just let the barrels degrade and grow potatoes in them nd let them rust?
I had a bonehead co-worker at a mechanic shop that used to add the tillings from the brake turning machine(brake lathe) to his potato plots.
LOL.
There's safety kleen and brake fluid and who knows what in the bin of a brake lathe(the machine we used to turn drums and rotors)
But he used it because we washed the drums and rotors with hot water after we de-slimed them before we put them on the lathe.
LOL.
He said taters love Iron.
And A steel barrel that was intended for AGRICULTURE, shouldn't have those chemicals in it. Should be safe.
Pop rivet some chicken wire if you have gaping holes?
Maybe just wrap it in ckicken wire, screw or poprivet that tight so it holds the form together, and let it keep rusting until it's useless?
(If empty you could put the chicken wire inside and out.
But alass those products may have dangerous metals in them.
I got dishydroti exzema last time I used bailing wire withot wearing gloves.....My hands had a flaking skin rash)
(Nickel is a suspect metal)
Maybe just use them to hold firewood?