-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
databaseinteroperabilityIssues with building or executing images due to a environmentIssues with building or executing images due to a environmentmore-info-requiredMore information is required to solve this issueMore information is required to solve this issue
Description
I am trying to run the oracle 18.4.0 XE image on an openshift cluster. Openshift starts containers with arbitrary user ids and not as root which causes the container to crash immediately:
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
#####################################
########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############
#####################################
The following output is now a tail of the alert.log:
tail: cannot open '/opt/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory
tail: no files remaining
So is there a way to start the container as non-root user?
I tried using USER 54321 in the Dockerfile to start as user 'oracle' but this will also cause an error.
matikepa and cjvirtucio87
Metadata
Metadata
Assignees
Labels
databaseinteroperabilityIssues with building or executing images due to a environmentIssues with building or executing images due to a environmentmore-info-requiredMore information is required to solve this issueMore information is required to solve this issue