Oracle image based on official one with support for running custom setup and startup scripts
1.6K
This image is has entry points for startup and setup scripts.
To run startup and setup scripts copy then to locations:
/docker-initdb/startup
and
/docker-initdb/setup
or mount these locations.
The initialization of Oracle DB can take a while. When startup and setup scripts are processed then start.sh script waits for DB to be ready to serve (accept incoming connections and process queries).
When DB is ready to serve then port 9999 is opened.
Best option to wait for port to be open is following script
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
Usage to wait for port "9999" on host "oracle-db":
/opt/wait/wait-for-it.sh -h oracle-db -p 9999 -t 0
Details about oracle docker image:
Content type
Image
Digest
Size
3 GB
Last updated
over 8 years ago
docker pull vtajzich/docker-oracle