"small gherkin," 1825, from French cornichon, diminutive of corne "horn" (of an animal), from Latin cornu "horn of an animal," from PIE root *ker- (1) "horn; head." So called for their shape.
cornfield
cornflower
cornhole
corn-husking
cornice
cornichon
Cornish
cornmeal
corn-pone
corn-row
corn-snake