A quick guide to installing Oracle 21c DBMS in Docker (Express Edition).
Version 21 has some exciting new features that I'd like to try. Here's an option for quickly deploying the DBMS in Docker. It won't take much time.
https://github.com/oracle/docker-images - Oracle's repository for creating images.
https://github.com/kivilev/oracle_dbd... - video repository.
Contents:
0:00 - Introduction
0:52 - Key Steps
1:50 - Verifying the Docker Installation
2:09 - Scripts for Creating a Docker Image
3:26 - Creating a Docker Image
4:35 - Creating a Docker Container
5:34 - Setting Up the Environment for Connecting to the DBMS
7:31 - Setting Up Enterprise Manager Database Express
8:55 - Conclusion
-------
Telegram Channel: https://t.me/oracle_dbd
All about Oracle DBMS development. Theory, practice, SQL, PL/SQL, problems, certification, and much more.
If you need advice, have questions, or would like training, please contact me on Telegram - https://t.me/denis_dbd
-------
Commands in the video:
Installed Docker version:
$ docker --version
Run the hello-world test container:
$ docker run hello-world
Create an image with Oracle 18XE:
$ ./buildDockerImage.sh -v 21.3.0 -x
Create and run the container:
$ docker run --name oracle21xe -p 1522:1521 -p 5501:5500 -e ORACLE_PWD=booble34 -v C:\Users\d.kivilev\docker-files\oracle21xe:/opt/oracle/oradata oracle/database:21.3.0-xe
Get access to the command line Container lines:
$ docker exec -it oracle21xe /bin/bash
Log in to the database as the system user:
$ sqlplus system/booble34@oracle21xe
Queries:
select * from dual;
select banner from v$version;
select user from dual;