Sign inSign up

xijiahui/oracle_database

By xijiahui

Updated over 1 year ago

Oracle Single Instance Non-Container Database (Non-CDB)

Image
Databases & storage
3

10K+

xijiahui/oracle_database repository overview

This image for development uses only

This customized image is Oracle Single Instance Non-Container Database, based on https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance modified.

To run this Oracle Database image run command as follows:

docker pull xijiahui/oracle_database:19.3.0-ee
docker tag  xijiahui/oracle_database:19.3.0-ee oracle/database:19.3.0-ee

export ORACLE_DATA_DIR=<host mount point>
export ORACLE_SID=<your SID>
export ORACLE_PWD=<your database sys passwords>
export ORACLE_CHARACTERSET=AL32UTF8

mkdir -p ${ORACLE_DATA_DIR}
chown -R 54321:54321 ${ORACLE_DATA_DIR}

docker run \
  --name oracle \
  -p 1521:1521 \
  --restart unless-stopped \
  -e TZ=CST-8 \
  -e ORACLE_SID=${ORACLE_SID} \
  -e ORACLE_PWD=${ORACLE_PWD} \
  -e ORACLE_CHARACTERSET=${ORACLE_CHARACTERSET} \
  -e AUTO_MEM_CALCULATION=false \
  -d \
  -v ${ORACLE_DATA_DIR}:/opt/oracle/oradata \
  oracle/database:19.3.0-ee

docker logs -f oracle

On first startup of the container a new database will be created, the following lines highlight when the database is ready to be used:

#########################
DATABASE IS READY TO USE!
#########################

For More Info, please visit: https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance

Tag summary

Content type

Image

Digest

sha256:197e99074

Size

2.7 GB

Last updated

over 1 year ago

docker pull xijiahui/oracle_database