Lying at a dock or pier:

It is always best to lie head or stern on to a dock if you intend to remain long or over night. Always run out an anchor to hold her off in case the wind shifts, or if for any reason you have to haul out. In making your head fast be sure to allow length enough, if in a tidal harbor, or you will be hung up when the water falls.