Etymology
Today it means: A place where ships are repaired or outfitted. Full definition →
From dock + yard.
Etymology from Wiktionary, CC BY-SA 4.0.