Subscribe to Posts by Email

Subscriber Count

    701

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Oracle 18c Database – Docker available

Hello

We have official docker files available to build the Oracle 18c Database in docker. Please go to this link.

https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles

To build this

  1. Install docker in your windows and switch to Linux
  2. Download the 18c database zip file to the docker directory and copy to c:\users\docker\18.3.0\dockerfiles\
  3. Download the docker files from GitHub (above link) , just copy the 18.3.0 folder into c:\users\docker\

Build the image process

Open command prompt

cd c:/users/docker/18.3.0/

Here the oracle/database:18.3.0-ee is image name and

docker build --force-rm=true --no-cache=true -f Dockerfile.ee -t oracle/database:18.3.0-ee .

You can see the steps involved in the window (click on image for best viewing)

Finally, you will get this

Let's check the docker image built listed

Run the docker and start the database

docker run --name orcl18c -p 1521:1521 -p 5500:5500 -e ORACLE_SID=ORCLC18C -e ORACLE_PDB=PDB18C -e ORACLE_PWD=admin123 -e ORACLE_CHARACTERSET=AL32UTF8 oracle/database:18.3.0-ee

As you see, 18.3.0-ee image built now get into the container and check database

The Oracle 18c database is up and running and you can build as many as containers you want.

-Thanks

Suresh

3 comments to Oracle 18c Database – Docker available

  • RAMU JAGINI

    Is There any different licencing to oracle using in docker? or same as older strategy?

    • Geek DBA

      Hi Ramu

      Currently there is no mention of Docker in the licensing link. However the docker will be considered as physical hard partitioning as like VM’s, so you have to license all CPU’s in the esx in the farm.

      For licensing , its better to talk with oracle account manager and get better visibility of it.

      -Thanks
      Suresh

  • Geek DBA

    Hi Ramu

    Currently there is no mention of Docker in the licensing link. However the docker will be considered as physical hard partitioning as like VM’s, so you have to license all CPU’s in the esx in the farm.

    For licensing , its better to talk with oracle account manager and get better visibility of it.

    -Thanks
    Suresh