A dockmaster was a person who was responsible for the docking procedures of an outpost.
In 2152, a Markalian served as the dockmaster of a trading dock on Pernaia Prime's moon. (ENT: "The Seventh")
In 2154, Captain Erika Hernandez of the NX class starship Columbia requested clearance to depart from the dockmaster of Starfleet's drydock. (ENT: "Affliction")
In 2293, Captain James T. Kirk asked Commander Uhura to hail the dockmaster, so the USS Enterprise-A could depart from spacedock. (Star Trek VI: The Undiscovered Country)
A dockmaster aboard Deep Space 9 had an office on the Promenade. (Star Trek: Deep Space Nine set decoration)