Sultaker
Sultaker

Reputation: 21

Error trying to install Oracle database on Docker Windows container

I need to create a Docker Windows container with an Oracle database 18c on it.

I followed this tutorial from Oracle (page 19 to 26) : https://www.oracle.com/technetwork/topics/dotnet/tech-info/oow18windowscontainers-5212844.pdf

When I execute the setup using a response file with this command :

RUN c:\data\db_home\setup.bat -silent -noconfig -noConsole -ignorePrereq -J"-
Doracle.install.db.validate.supportedOSCheck=false" -responseFile c:\data\db.rsp

I get the following error :

[FATAL] PRVG-1901 : failed to setup CVU remote execution framework directory 
"C:\Users\ContainerAdministrator\AppData\Local\Temp\InstallActions2020-07-17_01-18-
31PM\CVU_18.0.0.0.0_ContainerAdministrator\" on nodes "975ef812cf39" Please select a different work 
area for the framework 975ef812cf39 : PRKN-1014 : Failed to execute remote command
"C:\Users\ContainerAdministrator\AppData\Local\Temp\InstallActions2020-07-17_01-18-
31PM\CVU_18.0.0.0.0_ContainerAdministrator\\exectask.exe" on node "975ef812cf39".Failed during 
connecting to service 975ef812cf39 : Failed during connecting to service

Here's my configuration :

Container :

I've been doing tests for several days but I still haven't been able to solve this problem...

Upvotes: 2

Views: 2637

Answers (2)

Roberto Hernandez
Roberto Hernandez

Reputation: 8518

Normally the error PRVG-1901 is related with a privilege issue.

  • Run the console as administrator
  • Check whether a REG DWORD named AutoShareWks exists (in registry Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters). It did not. But if it would, make sure that the value is set to 1 and restart.
  • Stopped the OracleRemExecServiceV2 service

In my case, running console as administrator fixed the issue.

Upvotes: 1

Sayan Malakshinov
Sayan Malakshinov

Reputation: 8655

You can just take ready docker images here: https://github.com/oracle/docker-images/tree/master/OracleDatabase

Upvotes: 0

Related Questions