What You See Is What You Get Element

Deploy Oracle Database as a Docker Container in Oracle Container Cloud Service

 

Oracle Database Enterprise Edition 12c is now available as a container in Docker Store. Using Oracle Container Cloud Service's user friendly dashboard, you can deploy the Oracle Database Docker image to the Oracle Cloud in four simple steps:
 

  1. View the Oracle Database Setup Instructions in Docker Store.
  2. Sign-in to Oracle Cloud. Create an instance of Oracle Container Cloud Service.
  3. Use OCCS Console to set up registry for Docker Store.
  4. Use OCCS Console to deploy the Oracle Database container image in OCCS.

Let's get started. 
 

  1. View the Oracle Database Setup Instructions in Docker Store:

    1. Log in to Docker Store with your Docker credentials.
    2. Search for 'oracle database' and select the Oracle Database Enterprise Edition image.

      DeployDB-OCCS-Step1b


       
    3. Click through and accept terms if needed.


      DeployDB-OCCS-Step1c


       
    4. View Setup Instructions.

      - Note the name of the image. We will use it in step 4b.

      - Note the default database password for the sys user.


      DeployDB-OCCS-Step1d


       
  2. Sign-in to Oracle Cloud. Provision the Container Cloud Service.


    DeployDB-OCCS-Step2-1




    DeployDB-OCCS-Step2-2

    DeployDB-OCCS-Step2-3


     
  3. Use OCCS Console to set up registry for Docker Store:


    1. Click on Menu icon then Container Console to open the OCCS Console:


      DeployDB-OCCS-Step3a


       
    2. Click on Registries, edit index.docker.io.


      DeployDB-OCCS-Step3b


       
    3. Set the URL to index.docker.io/store and add your Docker account information for email, username and password. Validate and Save your information.


      DeployDB-OCCS-Step3c


       
  4. Use OCCS Console to deploy the Oracle Database container image in OCCS:

    1. Click on Services, then New Service.


      DeployDB-OCCS-Step4a


       
    2. Provide Image name (from the Docker Store Setup Instructions in step 1d) and other fields:


      DeployDB-OCCS-Step4b


       
    3. Add database ports and Save:


      DeployDB-OCCS-Step4c


       
    4. Click Deploy, accept defaults and deploy the database service.


      DeployDB-OCCS-Step4d


       
    5. In a few minutes the Oracle Database will be running.
       
    6. Extra: To look up the Database IP address, follow these steps.

      Click on the Containers display and click on the hostname of the database container:


      DeployDB-OCCS-Step4f-1


      DeployDB-OCCS-Step4f-1