The buds used in grafting looked like eyes, so inoculate first meant to graft fruit trees.
Then in 1722 transfer of material from one smallpox patient to another was called
inoculation.