Green’s Dictionary of Slang

bucket and pail n.

also lard and pail, mop and pail
[rhy. sl. = jail]

[1930s+] prison.