Oracle Database Express Edition 11g Container
This provides a docker container for Oracle XE 11g.
Due to licensing problems we cannot distribute the oracle RPM.
However this doesn't mean the setup process has to be horribly complicated. Simply create a new docker file that extends this docker file, place the zip from oracle with the RPM in a
docker_files directory, and build it.
Your Dockerfile will be tiny and look like this:
See /example if you're not sure what I mean.
Data is stored to the volume
Customise the database on first run
The container will try to run
/init_only.sh before running Oracle XE if there aren't any data files. You can use this script to initialise your database, simply add it in the container you have created which extends this one.
This was built for oracle-xe-11.2.0-1.0, however with minor tweaks it would probably work for other versions.
We use SemVer for the version tags available See the tags on this repository.
Feel free to create pull requests or issues.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The password is set in the entrypoint.sh script. It is set to "oracle" for both SYS and SYSTEM accounts.
To connect from outside, look up the forwarding port:
$ docker port $YOUR_CONTAINER_ID 1521
and connect to this port using
$ sqlplus SYS/oracle@localhost:$THE_FORWARDED_PORT/XE as SYSDBA
Sorry if this is a dumb question, but beeing a total oracle noob, what are the credentials to log into the database as dba or how do I specify them?