
Configure Oracle database in Docker Desktop on Windows, install Docker Desktop, get the Oracle image, and run the container. Connect from outside the container with a Windows driver.
Learn to install and configure Docker Desktop on Windows, switch between Hyper-V and WSL 2, and manage Linux and Windows containers for Oracle database workloads.
Pull the Oracle database enterprise image from Docker Hub, log in, and download the image locally with its tag 12.2.0.1 to prepare a container.
Create an Oracle database container in Docker in detached mode, access it inside the container, run sql commands to manage a sample employee table, and review port exposure and connectivity.
Map the Oracle container port to the host and connect from outside using the assigned port. Test connectivity and run queries to view users and create tables.
Create a new Oracle user in a dockerized instance by logging in as system, running docker exec, issuing create user and grant all privileges, then test and change the password.
Download the Oracle instant client for Windows 64-bit, gather the basic, sdk, and another package, extract them into a folder, and configure the odbc driver to access the Oracle database.
Set environment variables, install the Oracle ODBC driver, verify installation in the drivers tab, and configure the Oracle client and datasource name for Windows applications.
Configure tnsnames.ora in Windows by defining a tns alias with host and port, placing it in the instant client folder, and pointing an environment variable to the dns names file.
Inspect the registry under the local machine to see the driver registration, export or import the registration and connection details as needed, and note that uninstalling removes these entries.
Uninstall the oracle driver from the system, verify removal in data sources and the registry, and clean up the related environmental variables to complete the uninstall.
In this course, you will learn the complete configuration of the Oracle Database Enterprise edition in Docker. Starting from Installing and configuring the Docker desktop. There are 2 types of backends for the docker desktop to run. One is the Hyper-V and the other is the WSL2 backend. In this course, the Hyper-V backend is enabled.
The 2 versions of Oracle instances are created in docker, one with port mapping and the other without that. The other applications or tools can connect to the oracle instance only if the port mapping is enabled for that container. The steps are explained to install Oracle ODBC driver in windows. The ODBC Driver for Oracle enables an application to access data in an Oracle database through the ODBC interface. Any application, it can be java or DOTnet application, wants to connect to Oracle instance and do the database operations, can use DSN to connect to Database. The steps to configure DSN in windows are explained here.
The external tool SQL developer is used to connect the databases hosted in Docker. Performed the SQL operations in the SQL editor. Created a new user in the Oracle instance and the same user is used to connect to the Oracle instance from ODBC data source and from SQL developer. Modified the user password and verified.