0

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.

Thank you.

bglee
  • 1
  • 1
  • [Docker - Creating base image with RHEL iso](https://stackoverflow.com/questions/27518646/docker-creating-base-image-with-rhel-iso) asks a similar question. The base images like [`ubuntu`](https://git.launchpad.net/cloud-images/+oci/ubuntu-base/tree/Dockerfile?h=refs/tags/dist-jammy-amd64-20221020&id=e4ee3aa15b9061ff0122ffdba0bdf3c89e33c1e2) generally work by coming up with a root filesystem and then `ADD`ing it to an empty `FROM scratch` image, so if you can extract the ISO image into a rootfs it could work. – David Maze Nov 02 '22 at 14:02

0 Answers0