maksymbilenko / docker-oracle-apex Goto Github PK
View Code? Open in Web Editor NEW:whale: Image to install/upgrade/uninstall Oracle Application Express to Oracle Database
License: Other
:whale: Image to install/upgrade/uninstall Oracle Application Express to Oracle Database
License: Other
Hi,
thank you very much for the docker-oracle-apex, it saves so many time for me.
I just learn the APEX, I need to use the schema "HR", but I cannot find it in oracle db, do you know how could I activate it and related tables?
Thanks a lot for your help!
Chuan
**Doc enhacement
I would like to recommend setting the DB_CONTAINER_NAME before running the upgrade command.
Apex upgrade up to v 5.*
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9ca7d640fb9e sath89/oracle-12c "/entrypoint.sh " About an hour ago Up About an hour 0.0.0.0:1521->1521/tcp, 0.0.0.0:8080->8080/tcp dreamy_babbage
export DB_CONTAINER_NAME=dreamy_babbage --> Replace with your container name
--> Depending on your env and shell it could be different, export is valid for bash in this case.
Making this you can avoid rare docker messages.
Good work and thanks a lot.
-José Valerio
$ docker login
Authenticating with existing credentials...
Login Succeeded
$ docker run -it --rm --volumes-from test_apex_12c --link test_apex_12c:oracle-database sath89/apex install
Unable to find image 'sath89/apex:latest' locally
docker: Error response from daemon: pull access denied for sath89/apex, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
I see on your script:
rm -rf /u01/app/oracle/apex
What is your purpose? Where is new apex folder?
Hi,
when using the command:
docker run -it --rm --volumes-from 32b130da6042 --link 32b130da6042:oracle-database sath89/apex install
i get following output:
Archive: /tmp/instantclient-basic-linux.x64-12.1.0.2.0.zip
inflating: /instantclient_12_1/adrci
inflating: /instantclient_12_1/BASIC_README
inflating: /instantclient_12_1/genezi
inflating: /instantclient_12_1/libclntshcore.so.12.1
inflating: /instantclient_12_1/libclntsh.so.12.1
inflating: /instantclient_12_1/libipc1.so
inflating: /instantclient_12_1/libmql1.so
inflating: /instantclient_12_1/libnnz12.so
inflating: /instantclient_12_1/libocci.so.12.1
inflating: /instantclient_12_1/libociei.so
inflating: /instantclient_12_1/libocijdbc12.so
inflating: /instantclient_12_1/libons.so
inflating: /instantclient_12_1/liboramysql12.so
inflating: /instantclient_12_1/ojdbc6.jar
inflating: /instantclient_12_1/ojdbc7.jar
inflating: /instantclient_12_1/uidrvci
inflating: /instantclient_12_1/xstreams.jar
Archive: /tmp/instantclient-sqlplus-linux.x64-12.1.0.2.0.zip
inflating: /instantclient_12_1/glogin.sql
inflating: /instantclient_12_1/libsqlplusic.so
inflating: /instantclient_12_1/libsqlplus.so
inflating: /instantclient_12_1/sqlplus
inflating: /instantclient_12_1/SQLPLUS_README
Database Connetion is OK
ls: cannot access /u01/app/oracle: No such file or directory
Failed to find database files, run example:
docker run -it --rm --volumes-from :oracle-database --link :oracle-database sath89/apex install
When starting bash in the container, the path is available:
drwxr-xr-x 1 oracle dba 4096 Dec 12 21:12 .
drwxr-xr-x 1 root root 4096 Nov 27 2015 ..
drwxr-x--- 3 oracle dba 4096 Dec 12 20:55 admin
drwxr-x--- 3 oracle dba 4096 Dec 12 21:01 audit
drwxr-x--- 3 oracle dba 4096 Dec 12 20:54 cfgtoollogs
drwxr-x--- 2 oracle dba 4096 Dec 12 21:12 checkpoints
drwxr-xr-x 2 oracle dba 4096 Dec 12 21:12 dbs
drwxrwxr-x 4 oracle dba 4096 Dec 12 20:55 diag
drwxr-x--- 4 oracle dba 4096 Dec 12 20:55 fast_recovery_area
drwxr-x--- 3 oracle dba 4096 Dec 12 20:55 oradata
lrwxrwxrwx 1 root root 23 Dec 12 20:53 product -> /u01/app/oracle-product
root@32b130da6042:/u01/app/oracle#
can you please advise?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.