# Install Oracle client on existing nodered container

**URL:** <https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269>\
**Category:** General\
**Created:** [23 June 2022 08:58 UTC](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269 "2022-06-23T08:58:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sys4cad1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sys4cad1/32/63683_2.png) [@sys4cad1](https://discourse.nodered.org/u/sys4cad1)\
**Post date:** [23 June 2022 08:58 UTC](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269/1 "2022-06-23T08:58:19Z")

</div>

As I spent few days to sort out oracle connection with exsting nodered container,  
I'd like to share how I solved the problem as following.

1. download oracle client zip file: ( in my case target oracle version is 11g )

2. Copy inside docker container

> docker cp zipFile norered:/data

1. Access docker as root

2. After creating /data/oracle, copy the zip file and unzip it.

3. Create soft link

4. Install lib ( libaio, libnsl )  
apk update  
apk add libaio  
apk add libnsl

5. Set docker environment variable LD\_LIBRARY\_PATH from host  
sudo su  
systemctl stop docker

6. Execute oracle DB query using oracle node

---

<div class="post-metadata">

**Author:** ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Post date:** [23 June 2022 10:29 UTC](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269/2 "2022-06-23T10:29:16Z")

</div>

I never use docker.

Your tutorial can be applied for this [NodeRed and Oracle Database](https://discourse.nodered.org/t/nodered-and-oracle-database/58666) ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 August 2022 10:29 UTC](https://discourse.nodered.org/t/install-oracle-client-on-existing-nodered-container/64269/3 "2022-08-22T10:29:49Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
