Building Oracle 19c Docker image

Disclaimer: At this time Oracle has not released yet an official distribution for Oracle RDBMS 19c on Linux/Windows/Mac.

But with Docker everything is posible, first public release off 19c is for Exadata platform available on Edelivery.

Directo download Oracle 19c zip file

To build your Oracle RDBMS 19c Docker image just clone my GitHub repository docker-images:

$ git clone https://github.com/marcelo-ochoa/docker-images.git
$ cd docker-images/OracleDatabase/SingleInstance/dockerfiles/
[mochoa@localhost dockerfiles]$ ls -la
total 40
drwxr-xr-x 8 mochoa mochoa 4096 feb 15 11:24 .
drwxr-xr-x 5 mochoa mochoa 4096 feb 15 11:24 ..
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 11.2.0.2
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 12.1.0.2
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 12.2.0.1
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 18.3.0
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 18.4.0
drwxr-xr-x 2 mochoa mochoa 4096 feb 15 11:24 19.2.0
-rwxr-xr-x 1 mochoa mochoa 5145 feb 15 11:24 buildDockerImage.sh

put your downloaded zip file V981623–01.zip at 19.2.0 directory and run:

[mochoa@localhost dockerfiles]$ ./buildDockerImage.sh -v 19.2.0 -e
sample output of build process

check your built image with:

[mochoa@localhost dockerfiles]$ docker image ls|grep oracle
oracle/database 19.2.0-ee a6f4263fed51 37 hours ago 6.34GB
oracle/dgmgrl 18.3.0-ee 726cb2c8e876 4 weeks ago 339MB
oracle/database 18.3.0-ee-nfs 2256c75a1e0f 2 months ago 17.7GB
oracle/database 18.3.0-ee 15f915462da5 5 months ago 17.7GB

note the image size, less than 50% of previous release 18.3.0-ee!!

Finally test your Database using:

[mochoa@localhost dockerfiles]$ docker run -d --name 19c -p 1521:1521 -p 5500:5500 -v /home/data/db/19c:/opt/oracle/oradata oracle/database:19.2.0-ee

and that's all you will get Oracle 19c up and running on Windows/Linux/Mac, use this image for testing purpose and to see new features,.

Note: Unlike my previous post which describes how to make a 18c Docker image using Exadata download, this new release do not requires library patch for skipping Exadata check.

Finally how 19c works on my Ubuntu notebook? Perfect!!! and fast!! good job Oracle RDBMS team, here a sample output of OEM Express

OEM Express edition up and running