Just for general cleaning?
My favorite is commercial boat soap. It's concentrated, meaning I don't have to have a gallon of vinegar and a gallon of bleach and a bottle of dish soap in the dock box, just a quart of boat soap. Using a couple ounces per wash, it lasts for many washings. And it does the job.
Chlorine bleach (clorox) does nothing for general cleaning. Dish soap will remove the wax from your boat. Vinegar is said to keep the surface from streaking when you rinse it. I don't know if it works or not.
If you're trying to clean non-skid deck surfaces, in my opinion, this is by far the easiest and best product to use:
Follow the directions on the container.