Green’s Dictionary of Slang

okey-doke n.1

[rhy. sl. = pokey n.2 (1)?]

(US) a prison.

[US]Murtagh & Harris Who Live In Shadow (1960) 22: When addicts let themselves go, most of them talk in wails. ‘I feel like I been in the okey-doke,’ one says. ‘You know, like I spent my whole life behind bars.’.