I can’t install oracle client 11g R2 x86 in Windows Server 2016 Container using Dockerfile.
I tryed to locate some logs with command: docker logs -f containerID, but didn’t show anything.
This command: C:\Client_Oracle_11gR2_32\client\setup.exe -silent -nowait -responseFile C:\Client_Oracle_11gR2_32\client\client_oracle_11g_r2_x86.rsp
was successfully on Windows Server 2016 and a new container.
P.S. My custom image is created successfully, I’m using the image “microsoft/iis” from dockerhub with dockerfile “powershell” commands to create Virtual Site, AppPool and Site. It’s all right.
My problem is with the Dockerfile.
RUN [“C:\Client_Oracle_11gR2_32\client\setup.exe”, “-silent”, “-nowait”, “-responseFile C:\Client_Oracle_11gR2_32\client\client_oracle_11g_r2_x86.rsp”]
If you put -nowait then it means that docker will skip this line and go to next one since it does not know that it was completed. You probably shall remove that line at the minimum.
If I were you I would switch to powershell and CMD processor and use similar construct to below to launch installation executable
Thanks artisticcheese, I think you are on to something. My problem now is that I am trying to specify an argument for the oracle install for a response file and it doesnt like it…
its like this and I have got this too work outside of the docker file: SYSTEM_DRIVE:\setup.exe_location> setup [-silent] “variable=setting” [-nowelcome] [-noconfig] [-nowait] -responseFile filename
Well remember inside docker file you run it via powershell prompt, so try the correct syntax inside powershell processor via Start-Process instead of cmd.exe
I have been struggling with this for a couple of days
Oracle setup installer and response files ready, I run the setup command with my response file on my own PC from an elevated cmd window and Oracle is installed, no problems found and oracledb installs according to my reponsefile
But even with silent switch the Oracle Universal Installer and some configuration still popup, that will not work when installing from an image or within a container itself
(see picture attached)
As I said even that the build might finish successfully and without errors the application it is not installed or the container run for a moment and then exits few seconds later
I have a very similar problem installing Oracle SQLPlus and VS Redistributable on a container on MS Server 2016. Looks like it is a dead end for those who are trying to (a) Get a reasonable installation of any non-Microsoft software installed on the container (b) Run/Switch-to Linux containers on Windows 2016.
I don’t see how this shall be called a fault of windows containers where it’s issue with installation for Oracle client which can not be run in silent mode.
That it is not entirely true, you can create an answer file and start a total silent install, is well documented in Oracle and I managed to start the install on the container, but fails after few seconds with access denied, even that the
account is created on my docker file and member of the local admin group
It’ is something of the Windows Core image and its structure
What account was created and where is log showing access denied? I read thread again and don’t see any mentions of additional accounts and access denied error messages.
For anyone looking for how to get an Oracle client running in a Docker Windows container, I can confirm the approach proposed here works. I used both instantclient_19_17 and instantclient_18_5 and both worked for me.
can you please share the line of codes you follow the oracle client in windows docker container.
i am facing a problem while creating oracle instance .