Canning jars work, too, but at subject to breaking if dropped.
I never thought to use vacuum sealed bags. Probably because I’ve had bags of sugar chewed open by mice.