to hit something (such as a door) with the knuckles of your hand or with a hard object (such as a knocker) in order to get people's attention —usually + on —sometimes used figuratively
to hit (something or someone) in a forceful way
to touch or hit someone or something in a way that is not planned or intended