A rat can gnaw all day and he still wont gnaw through a glass jar.
Plastic bags work good you just have to be careful because when it’s vacuum packed it’s easy to puncture the bag.
Rice or anything with a sharp point in a vacuum packed bag will poke through it at the slightest bump.
The plastic vacuum seal bags don’t work for long term. Long term they won’t hold the seal. They turn brittle and leak.