If anyone ever told you that freezing food in glass is dangerous, ask them how it's any more dangerous than plastic. Food carefully frozen in glass is perfectly safe, although it just takes a little more care to handle.Glass containers typically come in set sizes so measurements are simple.
The main things to consider when freezing food in glass:
If you do drop or break a glass container of frozen food, don't ever eat the contents. The same of course goes for plastic, especially if it has splintered.
Markers do tend to rub off glass so either write on the lid or old label or keep a record elsewhere of what is in your freezer.