jaspeen / oracle-11g

Docker image for Oracle 11g database
Apache License 2.0
215 stars 164 forks source link

Image for running Oracle Database 11g Standard/Enterprise. Due to oracle license restrictions image is not contain database itself and will install it on first run from external directory.

This image for development use only

Usage

Download database installation files from Oracle site and unpack them to install_folder. Run container and it will install oracle and create database:

docker run --privileged --name oracle11g -p 1521:1521 -v <install_folder>:/install jaspeen/oracle-11g

Then you can commit this container to have installed and configured oracle database:

docker commit oracle11g oracle11g-installed

Database located in /opt/oracle folder

OS users:

DB users:

Optionally you can map dpdump folder to easy upload dumps:

docker run --privileged --name oracle11g -p 1521:1521 -v <install_folder>:/install -v <local_dpdump>:/opt/oracle/dpdump jaspeen/oracle-11g

To execute impdp/expdp just use docker exec command:

docker exec -it oracle11g impdp ..