Etymology
Today it means: Someone in charge of a dock, or of docking. Full definition →
From dock + master.
Etymology from Wiktionary, CC BY-SA 4.0.