Docker Run Oracle DB 18c XE: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<source lang="bash> cd $ACADEMIA_WSS/unix/dokr_wss/ mkdir academia-dokr-ora18c cd academia-dokr-ora18c/ git clone https://github.com/oracle/docker-images.git . cd OracleDatab...") |
No edit summary |
||
Line 1: | Line 1: | ||
==Build== | |||
<source lang="bash> | <source lang="bash> | ||
cd $ACADEMIA_WSS/unix/dokr_wss/ | cd $ACADEMIA_WSS/unix/dokr_wss/ | ||
Line 7: | Line 8: | ||
cd OracleDatabase/SingleInstance/dockerfiles/ | cd OracleDatabase/SingleInstance/dockerfiles/ | ||
./buildDockerImage.sh -v 18.4.0 -x | ./buildDockerImage.sh -v 18.4.0 -x | ||
</source> | |||
==Run== | |||
<source lang="bash> | |||
docker run --detach \ | |||
--name oracle18c \ | |||
--publish 1521:1521 \ | |||
--publish 5500:5500 \ | |||
--env ORACLE_PWD=oracle \ | |||
--env ORACLE_CHARACTERSET=AL32UTF8 \ | |||
oracle/database:18.4.0-xe | |||
</source> | </source> | ||
==References== | ==References== | ||
* [https://blogs.oracle.com/oraclemagazine/deliver-oracle-database-18c-express-edition-in-containers Docker Build and Run Oracle Database 18c XE] | * [https://blogs.oracle.com/oraclemagazine/deliver-oracle-database-18c-express-edition-in-containers Docker Build and Run Oracle Database 18c XE] |
Revision as of 04:55, 14 July 2020
Build
cd $ACADEMIA_WSS/unix/dokr_wss/
mkdir academia-dokr-ora18c
cd academia-dokr-ora18c/
git clone https://github.com/oracle/docker-images.git .
cd OracleDatabase/SingleInstance/dockerfiles/
./buildDockerImage.sh -v 18.4.0 -x
Run
docker run --detach \
--name oracle18c \
--publish 1521:1521 \
--publish 5500:5500 \
--env ORACLE_PWD=oracle \
--env ORACLE_CHARACTERSET=AL32UTF8 \
oracle/database:18.4.0-xe