The suffix came to be esp. assoc. with -ER1 and -ER2, so that all agent-nouns in -er have actually or potentially a deriv. in -ery, e.g. bookbindery, grocery, joinery, millinery; hence, by extension, in designations of premises, fittings, etc., as bakery, crockery, nursery, scenery, surgery; the pl. -eries is used also beside the sg. in names of wares, as groceries (XVII). Cf. -RY.
"-ery." The Concise Oxford Dictionary of English Etymology. . Encyclopedia.com. (January 22, 2019). https://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/ery
"-ery." The Concise Oxford Dictionary of English Etymology. . Retrieved January 22, 2019 from Encyclopedia.com: https://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/ery