Oracle 19c on Docker and Kubernetes Part 1- Getting Started

Backgroud

If you are a frequent visitor to my Blog site you may have already read one of the many Oracle on Docker / Kubernetes posts which I have written over the last few years. I have posts showing how you can deploy different versions of the Oracle database on Docker and Kubernetes clusters, with and without persistent storage.

However, in this series of Blog posts I will provide a walk through to get you up and running with the official pre-built Oracle 19c Docker image with Docker and Kubernetes.

In Part 1 I will focus on getting the Oracle Docker image.

Oracle 19c Docker Images

I have previously shared how you can build your own Oracle Docker images using the Oracle provided Docker build scripts which are available in GitHub to deliver different database versions.

I have also documented how you can get the Official Oracle 12c Docker image from the Docker Hub and you can read about it here.

However, in this Blog I will show how you can get and use the pre-packaged Oracle 19.3 Docker image available from the Oracle Container Registry.

The Oracle Container Registry

Point your browser to the Oracle Container Registry and sign-on on using your Oracle SSO credentials, click on Database and then select the required Database Repository, then read and accept the Oracle Standard Terms and Restrictions.

Oracle Container Registry
Oracle 19.3 Enterprise Edition

On your desktop logon to the Oracle Container Registry thus:

$ docker login container-registry.oracle.com
Username: <Email>
Password: <Password>
Login Succeeded

If your login was successful, you can now pull the Docker image.

$ docker pull container-registry.oracle.com/database/enterprise:latest
latest: Pulling from database/enterprise
...
Digest: sha256:9b28cbc568bc58fb085516664369930efbd943d22fa24299c68651586e3ef668
Status: Downloaded newer image for container-registry.oracle.com/database/enterprise:latest
container-registry.oracle.com/database/enterprise:latest

If all has gone well you should now be able to see the downloaded Oracle 19.3 Docker image, be patient it’s fairly large ~2.7GB.

Note it’s reported twice by Docker due to the 2 Tags, 19.3.0.0 and latest, however we can see the Image Id is the same for both entries.

$ docker images
REPOSITORY                                        TAG      IMAGE ID     CREATED      SIZE
container-registry.oracle.com/database/enterprise 19.3.0.0 2e375ab66980 2 months ago 6.66GB
container-registry.oracle.com/database/enterprise latest   2e375ab66980 2 months ago 6.66GB

Or if you prefer using the Docker Desktop tool

Docker Dashboard – Images

In Part 2, I will share how we can start using our newly downloaded Oracle 19c Docker Image

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: