A pier or short platform where boats are kept when not sailing.
Nick likes to sit on the dock and fish on Saturday mornings.
Here the O is short because it is followed by a consonant in a one-syllable word.