A dock is an enclosed area where ships go to be loaded, unloaded, and repaired.
The huge ship pulled into the dock, and the crew unloaded the cargo.
Example picture