Glass is a major problem. It’s heavy. It breaks.
Sealing it isn’t as easy either.
Then you can get glass particulate matter in your food.
A very small crack in a seam may not show up, but your food could be contaminated due to it.
In automated systems, I’m not sure it works as well.
Its cost is probably a lot higher as well.
I use glass containers for my storage and leftovers. I will not store my food in plastic containers. You can even buy glass bottles from Amazon for beverages.