brig

noun | \ ˈbrig \
  1. : a place (as on a ship) for temporary confinement of offenders in the United States Navy

  1. : a military prison