Docker Run Oracle DB 18c XE: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|
| valign="top" |
'''Linux:'''
export ORACLE_HOME=/srv/oracle
| valign="top" |
'''MacOS:'''
export ORACLE_HOME=$HOME/oracle
|}
==Build==
==Build==
<source lang="bash>
<source lang="bash>

Revision as of 05:00, 14 July 2020

Linux:
export ORACLE_HOME=/srv/oracle
MacOS:
export ORACLE_HOME=$HOME/oracle

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

References