Jail for sailors (4)
I believe the answer is:
brig
(Other definitions for brig that I've seen before include "Ship; a ship's jail" , "senior officer briefly used" , "Ship; ship's prison" , "A ship; army officer (abbr.)" , "staff officer briefly used" .)