Green’s Dictionary of Slang

floating academy n.

[SE floating + academy n. (4); run-down or part-derelict ships, no longer seaworthy, were recycled as prison ships, moored in the Thames estuary]

[late 18C–mid-19C] the prison hulks.