Behind the chain-link fence and barbed wire, detainees at the Cook County Jail are busy training man's best friend.