What keeps the sea from flooding a dry dock?

Pier pressure.

Rob.