How can I create a Docker image from ISO?

Unfortunately, I’m in an environment where I have to use CentOS 4.8 for business reasons.

I’d like to create an image in Docker to manage this horrible old version of OS.

I checked that some users put the image on the Docker Hub, and I checked that some images are working normally.

And the question here is, how did they create these images? Is it possible to create an image by ISO itself, or by other means, rather than an image derived from the official image distributed by Docker? (Official image exists from CentOS 5 version onwards)

and I’ve found that I can extract Ubuntu images from ISO through searching.

However, there is no talk of CentOS and RHEL clone OSs.