dock has 11 distinct synonyms spread across 6 of its 12 senses. Each sense below keeps its own list, because a synonym belongs to a meaning and not to a word: swapping one sense's substitute into another sense's sentence is how a thesaurus makes writing worse. Its one recorded opposite is undock.
Counts are distinct word forms across every sense. A synonym that appears under three senses is counted once here and shown three times below, under each sense it belongs to.
an enclosure in a court of law where the defendant sits during the trial
any of certain coarse weedy plants with long taproots, sometimes used as table greens or in folk medicine
a platform where trucks or trains can be loaded or unloaded
landing in a harbor next to a pier where ships are loaded and unloaded or repaired; may have gates to let water in or out
“the ship arrived at the dock more than a day late”
the solid bony part of the tail of an animal as distinguished from the hair
deprive someone of benefits, as a penalty
Synonyms, antonyms and the broader and narrower relations for dock come from Princeton University’s WordNet. Full sources and licences.