Skip to Main Content

Oracle Database Free

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

database container creation failure

Bhagath Muggu-OracleNov 7 2024 — edited Nov 7 2024

Hi,

I am trying to quickly setup db container using container-registry-london.oracle.com/database/free:23.5.0.0-lite-amd64 image on my oracle-linux 8 vm with podman.

I'm using the below command.

podman run --name db -v db_data:/opt/oracle/oradata:Z \
	-p 1521:1521 -e ORACLE_PDB=ORCLPDB1 -e ORACLE_PWD=Orcl1234 \
	-e ORACLE_SID=ORCL -e PUBLIC_HOSTNAME=oracle --network=host \
	--security-opt label=disable -d \
	container-registry-london.oracle.com/database/free:23.5.0.0-lite-amd64

The container is always getting failed with exit 1 and the container logs are as below.

Expanding oracle data
/home/oracle
/opt/oracle/runOracle_slim.sh: line 239: source: /opt/oracle/: is a directory
cp: -r not specified; omitting directory '/opt/oracle/'

I tried different approachs like volume, hostpath with/without security lables everytime it's failing with same error.

Can someone please help, am I doing something wrong ? I followed the official page as it is.

Thanks,

Bhagath

Comments
Post Details
Added on Nov 7 2024
3 comments
87 views