How to Set Up Oracle Database with Docker

Published: 27 May 2021
on channel: Database Star
57,784
598

📝 Get your FREE cheat sheet of Docker commands: https://www.databasestar.com/docker-d...
🎓 Master SQL Fundamentals: https://databasestar.mykajabi.com/sql...

Docker is a product that allows developers to create containers, which are self-contained areas on a computer for running applications. They can be used for databases, which is great if you can't install it normally (e.g. you use a Mac).

This video shows you how to set up an Oracle database on Docker. It uses an existing Oracle docker image on the Docker Hub website.

You'll learn how to download and install Docker, find the right Oracle image, download the image, run it, and connect to it in SQL Developer.

The connection details for this image mentioned in the video are below.

Container Database:

Username: SYS
Role: SYSDBA
Password: Oradoc_db1
Host: localhost
SID: ORCLCDB

Pluggable Database:

Username: SYS
Role: SYSDBA
Password: Oradoc_db1
Host: localhost
Service Name: ORCLPDB1.localdomain

The download page (with details and comments) is here: https://hub.docker.com/_/oracle-datab...

For more database advice and guides, visit my website at https://www.databasestar.com

Timestamps:
00:00 Introduction
00:27 Download Docker
01:12 Run Docker
02:09 Docker Hub signup
02:53 Search on Docker Hub for image
03:36 Oracle Docker image page
04:18 Terminal - docker login
05:51 Run Docker image
07:22 Docker is running
07:37 Start SQL Developer
08:08 Container Database connection
08:40 Pluggable Database connection
09:11 Simple query
09:35 Stop Docker container

Docker Image Missing: it seems the Oracle docker image has been removed from Docker Hub. Oracle has their own "container registry" where you can find the Docker image for the Oracle database.
The link is here: https://container-registry.oracle.com...
If that doesn't work, go to https://container-registry.oracle.com...
Then go to Database, then Standard, and copy the image from that page.


Watch video How to Set Up Oracle Database with Docker online without registration, duration hours minute second in high quality. This video was added by user Database Star 27 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 57,784 once and liked it 598 people.