How to obtain source for Red Hat products shipped as container images

Updated -

Viewing list of source packages used in a container

A source manifest is available for each Red Hat product container image and includes a list of the representative open source packages used in the image. These manifests are publicly available at ftp.redhat.com/pub/redhat/containers/. To view a list of the open source packages used in a specific container image, use the repository name to find the appropriate source manifest.

Repository Image version/tag Source manifest location
openshift3/ose v3.9.14 ftp.redhat.com/pub/redhat/containers/openshift3/ose/v3.9.14-2.txt
rhosp12/openstack-base 12.0 ftp.redhat.com/pub/redhat/containers/rhosp12/openstack-base/12.0-20180405.1.txt

Obtaining source code used in a container

A listing of every version of source packages used in published container images is publicly available at ftp.redhat.com/pub/redhat/containers/src.index.html. Each source package listed in the index file is linked to its representative source code. For RPM-based content, information is publicly available for how to obtain rpm source code.