Stowing glass jars
We use those expanded plastic sleeves that liquor stores provide, in addition to socks, dish towels etc. The plastic sleeves stay on the bottles even when they’re out & in use.
BTW: We’ve never had a glass container break; but we have had plastic bottles puncture and/or abrade, and spill. I’m not certain that I can endorse the conventional wisdom that prohibits glass aboard, and advises transferring everything into plastic containers.