Oracle database 12c release 1 with Apex 5.0.3
This Dockerfile is based on my work for [https://hub.docker.com/r/mritschel/oraclebase]. The version is based on the image with Oracle Enterprise Linux 7.1 and Oracle Database 12c R1.
The resulting image contains the following:
- Oracle Enterprise Linux 7.1
- Oracle Database 22.214.171.124 Enterprise Edition
- Apex 5.0.3
- Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
- Perl 5.14.1
Pull the latest trusted build from here.
Using Default Settings (recommended)
Complete the following steps to create a new container:
Pull the image
docker pull mritschel/docker-oracle12c-apex5
Create the container
docker run -d -p 8080:8080 -p 1521:1521 -h xe --name oracle-apex mritschel/oracle12c-apex
wait around 5 minutes until the Oracle Database and APEX is created. Check logs with
docker logs oracle-apex.
The container is ready to uAll entries from the Alert.log and Listener.log are entered into the container logfile.
The container stops if an error occurs. Check the logs to determine how to proceed.
You may set the environment variables in the docker run statement to configure the container setup process. The following table lists all environment variables with its default values:
|Environment variable||Default value||Comments|
||Keep in mind that DBCA fails if you set this value too low|
||Oracle Base directory|
||Oracle Home directory|
||Oracle Data directory|
||Oracle Home directory|
||Oracle service name|
||Oracle NLS date format|
||The Oracle SID|
Here's an example run call amending the SYS/SYSTEM password and DBCA memory settings:
docker run -e PASS=manager -e DBCA_TOTAL_MEMORY=1536 -d -p 8080:8080 -p 1521:1521 -p 5500:5500 -h xe --name oraclebasis mritschel/oracle12c-apex
To access the database e.g. from SQL Developer you configure the following properties:
The configured user with their credentials are:
Complete the following steps to backup the data volume:
Stop the container with
docker stop oracle-apex
Backup the data volume to a compressed file
xe.tar.gzin the current directory with a little help from the ubuntu image
docker run --rm --volumes-from oracle-apex -v $(pwd):/backup ubuntu tar czvf /backup/oracle-apex.tar.gz /u01/app/oracle
Restart the container
docker start oracle-apex
Please file your bug reports, enhancement requests, questions and other support requests within Github's issue tracker:
docker-oracle12c-apex is licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Hello again. That did the trick (new version). But do you think to ords version of container to? Because i tried to modify the container and install ords 3 but i did not manage to do it correctly and broke the container several timest.
When i go to localhost:8080/apex i resive i "Your login
information will be sent securely." popup and i can not find what is the username and password for that.
That was a error in the Image! The new Version is this error corrected.
When i go to localhost:8080/apex i resive i "Your login information will be sent securely." popup and i can not find what is the username and password for that.
the pull command in your installation guide does not work. "docker pull mritschel/docker-oracle12c-apex5" should be right, shouldn't it?