Chemistry - Storing hydrofluoric acid before the invention of plastics

Solution 1:

In the original 1771 experiment, Scheele used a very simple setup consisting of a glass retort with a glass receiver (round-bottom flask).

Yes, the glass was etched to some degree by the fumes, but it was not drastic enough to destroy the apparatus.

From Anders Lennartson's The Chemical Works of Carl Wilhelm Scheele [1, p. 22]:

3.1 Publication 1. Investigation of Fluorite and Hydrofluoric Acid

Original publication: Kongl. Vetenskaps Academiens Handlingar. 1771, 32, 120–138.
Original title translated to English: Investigation of fluorspar and its acid

The second paragraph of the paper deals with the action of acids on fluorite, and this is where the important discovery is made. Scheele mixed powdered fluorite with sulphuric acid (oil of vitriol) and heated it in a retort (Fig. 3.3) whereupon corrosive fumes were emitted. He repeated the experiment with some water in the receiver. He found that a white crust was formed on the water surface, and that the water contained a dissolved acid. The inner surface of the retort was etched by the fumes. Scheele identified the white crust as silicon dioxide (siliceous earth) and the residue in the retort as calcium sulphate (selenite or gypsum). This lead Scheele to the conclusion that “Fluor [fluorite], therefore, consists principally of calcareous earth [calcium oxide], saturated with a peculiar acid; the nature of which we shall investigate hereafter”.

Scheele's first apparatus to obtain HF
Fig. 3.3 Schematic view of the apparatus Scheele used for preparing “acid of fluorspar”

In response to critics, to prove that the glassware itself was the source of the white silicon dioxide powder, Scheele improved the setup, protecting the inner walls with tin and wax.

Continuing from [1, p. 98]:

3.60 Publication 60. Experiments with Hydrofluoric Acid

Original publication: Chemische Annalen für die Freunde der Naturlehre. 1786, part 1, 3–17.
Original title translated to English: New evidence for the characteristic nature of the acid of fluor spar

Scheele powdered fluorite in a brass mortar, mixed the powder with sulphuric acid (oil of vitriol) and transferred it to a retort lined with tin. The receiver was lined with wax, and partly filled with water. This time Scheele obtained a distillate free from precipitated silicon dioxide (siliceous earth), and addition of potassium hydroxide gave no precipitate (i.e. no $\ce{K2SiF6}$). Thus, this was pure hydrofluoric acid, $\ce{ HF_{(aq)} }$; similar results had been reported by Scheele’s friend, J.C.F. Meyer in Stettin.

References

  1. Lennartson, A. The Chemical Works of Carl Wilhelm Scheele; Springer Berlin Heidelberg: New York, NY, 2017. ISBN 978-3-319-58180-4.

Solution 2:

Based on research inspired by andselisk's answer, chemists stored it in glass vessels coated in wax (similar to the receiver setup Scheele used to prove the silicon dioxide precipitate was from the glassware itself.

The fourth paragraph down in this blog post on The Chronicle Flask touches on it (emphasis mine):

Where do you put something that eats through its container? Well, these days it’s stored in special plastic bottles, but in the 17th century when it was first discovered chemists had to use glass bottles coated inside with wax, and hope the coating was a good one.