How To Install Oracle Database 18c XE on Docker Container on Mac OS

Опубликовано: 04 Октябрь 2024
на канале: Tech Howdy
36,981
327

In this video tutorial I will show you the step by step process of installing Oracle Database 18c XE on Docker Container running on Mac OS.
There are many blogs, but hardly any tutorial video specifically dedicated to installing Oracle Database 18c XE on Mac OS using Docker Container. Therefore, I decided to create one.
My Blog
http://techhowdy.com

*** Special Thanks to FuzzyBrain aka Adrian. His GitHub Repo -
https://github.com/fuzziebrain/docker...

**** Special Thanks to Martin Giffy D'Souza aka martindsouza His GItHub Repo -
https://github.com/martindsouza
-Application links
Docker for Mac
https://docs.docker.com/v17.12/docker...

-Sql Developer and JDK
https://www.oracle.com/technetwork/de...

-Kitematic
https://kitematic.com/

RPM Package for 18c XE
https://www.oracle.com/technetwork/da...

Step By Step Guide To Install MSSQL Server On Mac Using Docker
   • Step By Step Guide To Install MSSQL S...  

Commands that are used in this tutorial-

Commad to Build Image - don't forget the dot at end

docker build -t oracle-xe:18c .

Command to Run Docker - **Very Important You use sudo

sudo docker run -d \
-p 32118:1521 \
-p 35518:5500 \
-e ORACLE_PWD=Oracle18 \
--name=oracle-xe \
--volume ~/docker/oracle-xe:/opt/oracle/oradata \
--network=oracle_network18c \
oracle-xe:18c


In some cases you may need to login to the server to modify or test something on the file system or use SQLCL.Once Docker container is running Click on the exec option.:

$ORACLE_HOME/bin/sqlplus sys/Oracle18@localhost/XE as sysdba

$ORACLE_HOME/bin/sqlplus sys/Oracle18@localhost/XEPDB1 as sysdba

-- Connect to CDB
sqlcl sys/Oracle18@localhost:32118/XE as sysdba


-- Connect to default PDB
sqlcl sys/Oracle18@localhost:32118/XEPDB1 as sysdba


How to Install Docker Container on Mac
How to install Oracle 18c XE on Mac OS using Docker
Tutorial to install Docker Container with Oracle DB on Mac
Step by Step Process to install Oracle DB 18c XE on Mac OS
Docker Tutorial For Mac OS.
How to Setup Docker Container on Mac OS wit 18c XE