I made some other posts about this you might be interested in:
How did people become pirates?
How were people forced to join pirate crews?
Where did pirates get the boats they used?