Is it possible to connect with an Oracle Docker container with an ODBC?

  database, docker, odbc, oracle, unixodbc

I am using docker images from this github: https://github.com/oracle/docker-images

I installed oracle db version 19c in my environment with the following command:


docker  run --name oracle19c --network host -p 1521:1521 -p 5500:5500
 -v /opt/oracle:/u01/oracle oracle/database:19.3.0-ee

Then I connect to it to run sqlplus with:

docker exec -ti oracle19c sqlplus system/[email protected]
SQL>

Then I managed to successfully load some data into it. However, I would like to connect to the database with an ODBC connection. However, I am confused on going about and connecting to the database inside docker, I have not been able to find any resources or guides. The server runs Ubuntu and I am connected over an ssh connection if that helps.

Source: Docker Questions

LEAVE A COMMENT