Open
Description
I have a Oracle 19 DB running on a physical server in my environment. My goal is to run an application in a docker container that connects to the DB via Oracle OCCI.
I am using oracle/instantclient:19 and can build my application in this container successfully.
Additionally, it is also possible to connect to the database via sqlplus
within the container after specifying the tnsnames.ora
DW = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host.docker.internal)(PORT = 1526)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dw.world) ) )
However, after running my application I cannot connect to the database and get an NLS territory error (ORA-12705: Cannot access NLS data).
Has anyone any experience with OCCI in a container? Is it work?
I am very thankful for any answer since I do not know any solution...