The detail from the text that explicitly supports the inference that the men on the dock are friendly is:
One of the men pauses to pet a cat.
This action suggests kindness and a friendly disposition, indicating that the men are approachable and generally good-natured.