by MaksymBilenko

MaksymBilenko / docker-oracle-12c

:whale: Docker image with Oracle Database 12c on board

470 Stars 238 Forks Last release: Not found Apache License 2.0 66 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Oracle Standard Edition 12c Release 2

Oracle Standard Edition 12c Release 2 on CentOS This Dockerfile is a trusted build of Docker Registry.



docker pull

Run with 8080 and 1521 ports opened:

docker run -d -p 8080:8080 -p 1521:1521

Run with data on host and reuse it:

docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle

Run with Custom DBCATOTALMEMORY (in Mb):

docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle -e DBCA_TOTAL_MEMORY=1024

Connect database with following setting:

hostname: localhost
port: 1521
sid: xe
service name: xe
username: system
password: oracle

To connect using sqlplus:

sqlplus system/[email protected]//localhost:1521/xe

Password for SYS & SYSTEM:


Connect to Oracle Application Express web management console with following settings:

workspace: INTERNAL
user: ADMIN
password: 0Racle$

Apex upgrade up to v 5.*

docker run -it --rm --volumes-from ${DB_CONTAINER_NAME} --link ${DB_CONTAINER_NAME}:oracle-database -e PASS=YourSYSPASS sath89/apex install

Details could be found here:

Connect to Oracle Enterprise Management console with following settings:

user: sys
password: oracle
connect as sysdba: true

By Default web management console is enabled. To disable add env variable:

docker run -d -e WEB_CONSOLE=false -p 1521:1521 -v /my/oracle/data:/u01/app/oracle
#You can Enable/Disable it on any time

Start with additional init scripts or dumps:

docker run -d -p 1521:1521 -v /my/oracle/data:/u01/app/oracle -v /my/oracle/init/SCRIPTSorSQL:/docker-entrypoint-initdb.d

By default Import from

is enabled only if you are initializing database (1st run).

To customize dump import use

env variable like
To run import at any case add

In case of using DMP imports dump file should be named like ${IMPORTSCHEMENAME}.dmp

User credentials for imports are ${IMPORTSCHEMENAME}/${IMPORTSCHEMENAME}

If you have an issue with database init like DBCA operation failed, please reffer to this issue


  • Web management console HTTPS port
  • Add functionality to run custom scripts on startup, for example User creation
  • Add Parameter that would setup processes amount for database (Currently by default processes=300)
  • Spike with clustering support
  • Spike with DB migration from 11g

In case of any issues please post it here.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.