This is something I do all the time and I've gotten it down to an art.
First, don't have your dock
lines on the boat, have them installed on the dock.
Second, don't have your fenders on the boat, have them installed on the dock.
Third, set your dock lines in a V shape, one at the bow and one at the stern. With the top of the V on the dock, and the bottom (pointy end) of the V set at the cleat on your boat. This way, the dock lines also act as spring lines (at least in the short term)
Fourth, put a small loop at the bottom of the V of your dock lines. This loop should just fit over your cleat. The V shaped dock lines and loop should be positioned such that even if you go in at some speed, the stern V will stop your boat from hitting the electrical
cabinet in front. At the moment you are entering the dock, you don't want to be questioning whether you will hit the cabinet, and how much line you need. You will just know that the stern line will hold you in place perfectly.
So, when entering the dock you can lean over and grab the stern V line from the dock and slip it over your stern cleat. This will stop your boat in the correct position on the dock. Then, regardless of the wind
speed you will have time to calmly walk to the bow and lean over and grab the bow V line and slip it over the bow cleat. (If your boat has high freeboard then you can use a boat hook to grab the V lines.)
Once you have both V lines in place, you can extra lines if necessary.
If the dock is not long enough to have the stern V line catch your stern cleat, then set the V line a little forward and add something else to your boat to catch the bottom of the V. For example, I have attached a 12" long loop of rope
to my toe rail, just at the forward end of the cockpit
. I have a strong caribeener on the loop of the V line. When I'm pulling in I walk up to the 12" loop and lean over and grab the V line. Then I just clip the caribeener to the 12" loop. This stops me exactly in position and I can just walk forward to the bow V line. I never need worry about hitting at the bow because I know the V line will stop me before this happens.
This is described with a photo
on page 6-2 of the free pdf book available at: