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.
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, 188.8.131.52 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 184.108.40.206 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
In Part 2, I will share how we can start using our newly downloaded Oracle 19c Docker Image
[twitter-follow screen_name=’RonEkins’ show_count=’yes’]