Synonym of military prison.
A station for guards, especially at the entrance of a town, castle, etc.
A shore establishment of the Royal Navy and some Commonwealth navies.