A man is tying a boat to a dock using ropes.