A dock or mooring is the designated place to dock or moor a boat. That means to immobilize it using the cables, thus parking the ship. A boat can dock sideways (either to port or to starboard), or tip (either prow or stern).
Docked ships
Docked ships