Also, glass is heavier, and requires a lot of energy to be made, so it would require a production chain that ships back empty containers.
The best silver bullet solution would be to have local canteen, a bit like in the army or at school, where you just get a subscription with a calendar (not on demand, you plan the meals you'll get), so it reduces waste and costs.
We should just stop eating at home, with individual fridges, ovens, kitchens etc, this is highly inefficient.
Yes, this is collectivization, but it's the best solution for an economy of scale. Individualism was never a good solution, individualism is often very wasteful.
Call me a communist or a socialist, I don't really care.