6.2 Pulling Licensed Software from the Oracle Container Registry

The Oracle Container Registry contains images for licensed commercial Oracle software products. To pull images for licensed software on the Oracle Container Registry, you must have an Oracle Account. You can create an Oracle Account using:

https://profile.oracle.com/myprofile/account/create-account.jspx

Note

You do not need to log into the Oracle Container Registry or accept the Oracle Standard Terms and Restrictions to pull open source Oracle software images.

To pull a licensed software image from the Oracle Container Registry:

  1. In a web browser, log into the Oracle Container Registry using your Oracle Account:

    https://container-registry.oracle.com

  2. Use the web interface to accept the Oracle Standard Terms and Restrictions for the Oracle software images you want to pull. Your acceptance of these terms are stored in a database that links the software images to your Oracle Account. Your acceptance of the Oracle Standard Terms and Restrictions is valid only for the repositories for which you accept the terms. You may need to repeat this process if you attempt to pull software from alternate or newer repositories in the registry. This is subject to change without notice.

  3. Use the web interface to browse or search for Oracle software images.

  4. On the host system, use the docker login command to authenticate against the Oracle Container Registry, using the same Oracle Account you used to log into the web interface:

    # docker login container-registry.oracle.com

    You are prompted for the username and password for the Oracle Account.

  5. Pull the images your require using the docker pull command. For example:

    # docker pull container-registry.oracle.com/java/serverjre

    For more detailed information on pulling images from the Oracle Container Registry, see Section 6.1, “Pulling Images from the Oracle Container Registry”.

    If your Oracle Account credentials can be verified and the Oracle Standard Terms and Restrictions have been accepted, the image is pulled from the Oracle Container Registry and stored locally, ready to be used to deploy containers.

  6. After you have pulled images from the Oracle Container Registry, it is good practice to log out of the registry to prevent unauthorized access, and to remove any record of your credentials that Docker may store for future operations:

    # docker logout container-registry.oracle.com