How to run Oracle APEX in Docker container (Part I)
14 May 2019This is part I: Run Oracle Database and Oracle REST Data Service in container
Oracle has an official GitHub repository for running Oracle Database in Docker containers. I’ll use a single instance Oracle Database Enterprise Edition version 18.3.0 as an example in this guide.
Get the dockerfile from GitHub
For documentation, please check https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance
Build the docker image
Run following command in your terminal to build the image
Note
For now, I suggest use all capital letters for ORACLE_SID. Lower case SID become capitalized in this container and broke shell scripts.
Take a look at your Oracle Database
Now that the database is up and running, let’s move on to Oracle REST Data Service (ORDS). The ORDS docker image was built on top of java docker image. Therefore we need to build the java image first.
Oracle REST Data Service Docker Image
Download Java 8 Binaries
- Accept License and download Java 8 binaries
- Put the downloaded .tar.gz file into docker-images/OracleJava/java-8