How to obtain source for Red Hat products shipped as container images
Updated
Obtaining source container images
Red Hat now produces `source container images` that match each Universal Base Image (UBI) that it publishes. To read about UBI source container images and how to obtain them, refer to [Getting UBI Container Image Source Code](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/building_running_and_managing_containers/index#proc_getting-ubi-container-image-source-code_assembly_adding-software-to-a-ubi-container).
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/](http://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 | This content is not included.ftp.redhat.com/pub/redhat/containers/openshift3/ose/v3.9.14-2.txt |
| rhosp12/openstack-base | 12.0 | This content is not included.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](http://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](https://wiki.centos.org/Sources).
Article Type