How to login in Docker for download the images from Oracle Registry website

Steps to download the Oracle database docker file and run with docker commands

Step 1: Login in Oracle Container registry website

https://container-registry.oracle.com

Step 2: Download or Generate the access key by clicking on the login name mentioned at right side above and select the AUTH TOKEN from drop menu

Step 3: Go to the Docker system and login with Oracle container registry to download the Oracle Database images present in websites.

ubuntu01@ubuntu01-VirtualBox:~/Desktop$ sudo docker login container-registry.oracle.com
Username: XXXXXXX@gmail.com
Password:
WARNING! Your credentials are stored unencrypted in '/root/.docker/config.json'.
Configure a credential helper to remove this warning. See
https://docs.docker.com/go/credential-store/
Login Succeeded

Step 4: We are successfully login with containers registry of Oracle. Now we can able to download or pull the images for the Oracle Registry.

Step 5: You can login with regisrtry website and see all the Oracle database or other images peresnet

Step 6: Use the Pull command to pull the image, I pull enterprise edition image of Oracle database:

ubuntu01@ubuntu01-VirtualBox:~/Desktop$ sudo docker pull container-registry.oracle.com/database/enterprise:latest
latest: Pulling from database/enterprise
0c1525f69360: Pulling fs layer
524333c96a57: Pulling fs layer
..
..
..
..
ca9d1428074d: Download complete
f49af1eca5d4: Download complete 8ecd6e80f2cb: Downloading 290.5MB/889.2MB
3aa20556799b: Downloading 37.75MB/2.723GB
f69a0ed6e0f5: Download complete
f1d3ae666fec: Download complete 3aa20556799b: Downloading 291.5MB/2.723GB
20150b7adf1d: Download complete
20150b7adf1d: Pull complete
5bf857a7dc62: Downloading 289.4MB/494.5MB
..
..
..
..
..
3e0d211f77f5: Pull complete
9253301d7214: Pull complete
0c1525f69360: Pull complete
f4543ad3c4bf: Pull complete
989a99cbd1fd: Pull complete
16304cdb4eae: Pull complete
2b4bc6a16053: Pull complete
d9a04f808203: Pull complete
26914f5ddca6: Pull complete
Digest: sha256:224c51ce1555ff7b75882a84b621c52b6d5ece00c96b0c5cd84e667333ad5cd7
Status: Downloaded newer image for container-registry.oracle.com/database/enterprise:latest
container-registry.oracle.com/database/enterprise:latest

Step 7: Verify the download image

ubuntu01@ubuntu01-VirtualBox:~/Desktop$ sudo docker images
[sudo] password for ubuntu01:
i Info → U In Use
IMAGE ID DISK USAGE CONTENT SIZE EXTRA
container-registry.oracle.com/database/enterprise:latest
224c51ce1555 12.4GB 4.22GB
hello-world:latest 05813aedc15f 25.9kB 9.52kB U

Step 8: Run the Oracle database container with following commands.

docker run -d --name oracledb -p 1521:1521 -e ORACLE_PWD=sys123 -v ORACLE_DATA:/opt/oracle/oradata container-registry.oracle.com/database/enterprise:latest

Step 9: Verify the container is running stage

ubuntu01@ubuntu01-VirtualBox:~/Desktop$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
36ede553a527 container-registry.oracle.com/database/enterprise:latest "/bin/sh -c 'exec $O…" 10 days ago Up 16 minutes (healthy) 0.0.0.0:1521->1521/tcp, [::]:1521->1521/tcp oracledb

Step 10: Connect the database from docker command

ubuntu01@ubuntu01-VirtualBox:~/Desktop$ docker exec -it oracledb bash
bash-4.4$ sqlplus / as sysdba
SQL*Plus: Release 23.26.1.0.0 - Production on Fri Feb 20 10:33:47 2026
Version 23.26.1.0.0
Copyright (c) 1982, 2025, Oracle. All rights reserved.
Connected to:
Oracle AI Database 26ai Enterprise Edition Release 23.26.1.0.0 - Production
Version 23.26.1.0.0
SQL>
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

1 thought on “How to login in Docker for download the images from Oracle Registry website

  1. Pingback: Essential Docker Commands for Oracle Database Administration - SmartTechWays - Innovative Solutions for Smart Businesses

Leave a Reply