Oracle docker image of Oracle database from Oracle Container Registry

Oracle latest docker image for using Oracle Database

We used Oracle Database express edition docker image from Oracle Container Registry website.

Login to the Oracle Container Registry website: https://container-registry.oracle.com

Go to the databases page for download the build docker image for latest provided Oracle database image:

Copy the command for the docker to pull the image provided by Oracle database. I choose for express edition.

Express edition image is choose, it will open page for pull docker image. you must has docker installed on your machine.

Run the following command taken from above window on terminal for pull the image of Oracle Database Express Edition:

docker pull container-registry.oracle.com/database/express:latest

After pull run the image as ORCL name:

docker run -d --name <db> container-registry.oracle.com/database/express:21.3.0-xe

example:
docker run -d --name ORCL container-registry.oracle.com/database/express:21.3.0-xe

Check the status of ORCL container until it become healthy with following command:

docker ps

Note: After run my status remain unhealth for 1 hour then i restart the docker again with following command:

docker restart orcl

After starting few minutes it’s become Healthy:

Now we are ready to use Oracle Database Express Edition as container in docker:

Connect with Sqlplus command:

docker exec -it ORCL sqlplus / as sysdba

Check Listerner status

Check tnsping status:

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 )

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.