Over the last couple of weeks I've been "playing" with Docker a bit, and have found it useful for running older versions of the tools with less overhead than one would get with Qemu etc. This extends as far as FPC 2.2.4 and contemporaneous Lazarus hosted on a current x86_64 system with no risk of library clashes.
I've added a bit at the bottom of
https://wiki.freepascal.org/Qemu_and_other_emulators which hopefully others will find useful.
MarkMLl