"instruct, discipline, teach," 1540s, from
train (n.), probably from earlier sense of "draw out and manipulate in order to bring to a desired form" (late 14c.). The meaning "to travel by railway" is recorded from 1856. Trainer is recorded from c.1600; trainee from 1841.