What does ‘pokey’ mean?

( n ) Jail or prison. When his brother got out of the pokey, he went right back to making book.