- Notifications
You must be signed in to change notification settings - Fork0
This repository provides a small docker compose.yml file to work with Oracle Enterprise 19c using Docker. Not affiliated with Oracle in any way.
License
Aathish04/oracle19c_sample_docker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository provides a smalldockercompose.yml file to work with Oracle Enterprise 19c using Docker. This Repository is not affiliated with Oracle in any way.
- You have Docker+Docker Desktop installed.
- You have the minimum RAM and Disk Space as specified by Oracle.
An extensive write-up is available at thelinked blog post. A quickstart is provided in this README.
- Clone this repository to your local system.
- Download the Oracle Database 19c for LINUX (Enterprise Edition) ZIP file for your Architecture (ARM or AMD64) and place it in the
docker-images/OracleDatabase/SingleInstance/dockerfiles/19.3.0folder. - Run the
docker-images/OracleDatabase/SingleInstance/dockerfiles/buildContainerImage.shshell script with the appropriate command line tags:./buildContainerImage.sh -e -v 19.3.0(-eforenterprise,-v 19.3.0for the appropriate version) - Wait for the Build to complete.
- Set the appropriate
ORACLE_PWD(oracle database administrator password) and other environment variables etc in thecompose.ymlfile. - Place your
SQLprograms in theprogramsfolder. This folder will be available as the/home/oracle/programsfolder inside the docker container. - Run
docker compose up. And wait for the database to finish creation/startup. - Open up the
Docker Desktopand open theexectab of the created Docker container.- You can treat this as the shell of a virtual machine.
- Move into the
programsdirectory from within the Container, and runsqlplus sys/oracle@//localhost:1521/ORCL as sysdbareplacingoraclewith the password you set and replacing other changed environment variables appropriately. - Now you can run SQL commands and programs!
Since port 1521 is exposed, you should also be able to run programs that connect to the database using theJDBC.
- Remove this repository (its folder) from your computer.
- Delete the created Docker container
- Delete the created Docker image.
Thisdocker-run-to-compose converter was used to convert a version of the Docker run command fromthis README from Oracle's Github Repository to acompose.yml file.
This repository is not affiliated with Docker Inc. or Oracle in any way.
About
This repository provides a small docker compose.yml file to work with Oracle Enterprise 19c using Docker. Not affiliated with Oracle in any way.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.