Oracle puts out a Windows and Linux binary for their Oracle Database servers, but what if you want to run it on a Mac? The solution for a while was to use a VM and boot up the linux version. Nowadays using Docker is a little bit easier.
- Oracle Express Application
I will say that running Oracle DB on docker is not quite as easy as installing SQL Server on a Mac with Docker, but it is also not too difficult.
Oracle Database Express Edition (XE) is a community supported edition of the Oracle Database family. Please go to the Oracle Database XE Community Support Forum for help, feedback, and enhancement requests. Note: Oracle Support Services only provides support for Oracle Database Enterprise Edition (EE) and Oracle Database Standard Edition 2 (SE2) in conjunction with a valid Oracle. Download Oracle Database Express - A useful and powerful database that was especially designed to provide a means of developing, deploying and distributing applications. Trusted Windows (PC) download Oracle Client Express Edition 18.4.0.0. Virus-free and 100% clean download. Get Oracle Client Express Edition alternative downloads. Download the latest version of Oracle 10g for Mac - Database solution for Mac OS X Server. Read 2 user reviews of Oracle 10g on MacUpdate.
Download the Oracle Database Linux Binary
Your first step is to download the Download the Oracle Express Edition version 18c (xe) Linux rpm from oracle.com. Oracle's docker files do support other editions, but the Express Edition is sufficient for getting started.
Clone the Oracle Dockerfile Repo
Oracle has a GitHub repo with all its Dockerfiles, you can clone it (download it) by running:
Copy Binary to Dockerfiles dir
Within the git repository you just cloned, go to the OracleDatabase dockerfiles folder:
Copy the binary you downloaded in step 1 to the 18.4.0 folder within the dockerfiles folder:
Build a Docker Image
Run the script:
The -x
tells the script that you are installing the express edition, and the -v 18.4.0
tells it which version you are installing.
This step will take a few minutes.
Look for local docker image
You should now have a docker image named oracle/database:18.4.0-xe
which you can start using docker. Run docker images
from Terminal to look for it and make sure it is there. The total size of the image will be around 8-9GB.
Start an Oracle Database Using docker-compose
Finally we'll create a docker-compose.yml file so we can easily startup the db whenever we need it:
Now we can start up our container by running:
If you omit the ORACLE_PWD
environment variable it will just generate a presumably random password and output it during startup. The startup takes a few minutes to initialize.
After it starts up you will have an oracle database that is accessible on your local machine on port 11521
.
Database Licensing Information User Manual
HTMLPDFDescribes Oracle Database licensing. If you have a question about your licensing needs, contact your Oracle sales representative.
Database Upgrade Guide
HTMLPDFGuides you through the process of planning and performing upgrades for Oracle Database. This book also provides information about compatibility, upgrading applications, and changes in the new release that affect upgrading Oracle Database.
Express Edition Licensing Information User Manual
HTMLPDFContains licensing information for Oracle Database XE, Release 18.
Oracle Database Release Notes
HTMLPDFContains information about new features, changes, unsupported products, preinstallation requirements, generic and platform-specific bug fixes, and known issues that are not included in the Oracle Database Documentation Library.
Database Client Installation Guide for IBM AIX on POWER Systems (64-Bit)
HTMLPDFDescribes how to install and configure Oracle Database Client on IBM AIX on POWER Systems (64-Bit).
Database Installation Guide for IBM AIX on POWER Systems (64-Bit)
HTMLPDFProvides configuration information for network and system administrators, and database installation information for database administrators (DBAs) who install and configure Oracle Database, and Oracle Grid Infrastructure for a standalone server on IBM AIX on POWER Systems (64-Bit).
Grid Infrastructure Installation and Upgrade Guide for IBM AIX on POWER Systems (64-Bit)
HTMLPDFDescribes how to install and upgrade grid infrastructure for a cluster software, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM), on systems running IBM AIX on POWER Systems (64-Bit).
Oracle Database Instant Client Installation Guide for Apple Mac OS X (Intel)
HTMLPDFThis guide provides instructions about installing and configuring Oracle Database Instant Client for Apple Mac OS X (Intel).
Oracle Database Instant Client Release Notes for Apple Mac OS X (Intel)
HTMLPDFThis document contains important information that was not included in the platform-specific or product-specific documentation for this release.
Database Client Installation Guide for HP-UX Itanium
HTMLPDFDescribes how to install and configure Oracle Database Client on HP-UX systems.
Database Installation Guide for HP-UX Itanium
HTMLPDFProvides configuration information for network and system administrators, and database installation information for database administrators (DBAs) who install and configure Oracle Database, and Oracle Grid Infrastructure for a standalone server on HP-UX systems.
Grid Infrastructure Installation and Upgrade Guide for HP-UX Itanium
HTMLPDFDescribes how to install and upgrade Oracle Grid Infrastructure for a Cluster software, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM), on systems running HP-UX Itanium.
Client Release Notes for IBM: Linux on POWER Little Endian Systems
HTMLPDFThis document contains important information that was not included in the platform-specific or product-specific documentation for this release
Database Client Installation Guide for IBM Linux on POWER Little Endian Systems
HTMLPDFThis guide provides instructions about installing and configuring Oracle Database Client for Linux on POWER Systems.
Database Client Installation Guide for Linux
HTMLPDFDescribes how to install and configure Oracle Database client on Linux.
Database Express Edition Installation Guide for Linux
HTMLPDFContains information about installing Oracle Database XE on Linux X86-64 for Release 18.
Database Installation Guide for Linux
HTMLPDFGrid Infrastructure Installation and Upgrade Guide for Linux
HTMLPDFDescribes how to install and upgrade grid infrastructure for a cluster software, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM), on systems running Linux.
Database Client Installation Guide for Microsoft Windows
HTMLPDFDescribes how to install and configure Oracle Database Client on Windows.
Database Express Edition Installation Guide for Microsoft Windows
HTMLPDFContains information about installing Oracle Database XE on Microsoft Windows for Release 18.
Database Installation Guide for Microsoft Windows
HTMLPDFProvides configuration information for network and system administrators, and database installation information for database administrators (DBAs) who install and configure Oracle Database and Oracle Grid Infrastructure for a standalone server on Windows.
Grid Infrastructure Installation and Upgrade Guide for Microsoft Windows
HTMLPDFDescribes how to install and upgrade Oracle Grid Infrastructure for a cluster, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM), on systems running Microsoft Windows.
Real Application Clusters Installation Guide for Linux and UNIX
HTMLPDFDescribes how to install and configure Oracle Real Application Clusters (Oracle RAC) on systems running Linux and UNIX.
Real Application Clusters Installation Guide for Microsoft Windows
HTMLPDFDescribes how to install Oracle Real Application Clusters on the Microsoft Windows platform.
Deploying and Managing Oracle Software Using Rapid Home Provisioning
HTMLPDFProvides deployment scenarios for using Rapid Home Provisioning for installation, upgrades, and patching.
Database Client Installation Guide for Oracle Solaris
HTMLPDFDescribes how to install and configure Oracle Database Client on Oracle Solaris.
Database Installation Guide for Oracle Solaris
HTMLPDFProvides configuration information for network and system administrators, and database installation information for database administrators (DBAs) who install and configure Oracle Database, and Oracle Grid Infrastructure for a standalone server on Oracle Solaris.
Grid Infrastructure Installation and Upgrade Guide for Oracle Solaris
HTMLPDFDescribes how to install and upgrade Oracle Grid Infrastructure for a cluster software, which includes Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM), on systems running Oracle Solaris.
Database Examples Installation Guide
HTMLPDFDescribes how to install and configure the products available on the Oracle Database Examples installation media.
Migrating and Converting Non-CDBs to a PDB with a Different Endian Operating System
HTMLPDFGuides you through the scenario in which you upgrade and convert a non-CDB Oracle Database to multitenant architecture database (pluggable database, or PDB, plugged into a container database, or CDB), which is located on an operating system that uses a different Endian format from your earlier release Oracle Database.
Migrating Non-CDBs to New Hardware with a Different Endian Operating System and for a New Release
HTMLPDFGuides you through the scenario in which you migrate your Oracle Database to a new server with an operating system that uses a different Endian format, and you upgrade your database.
Migrating Non-CDBs to New Hardware with a Different Endian Operating System and for the Same Release
HTMLPDFGuides you through the scenario in which you migrate your non-CDB Oracle Database to a new server with an operating system that uses a different Endian format, where you maintain the same Oracle Database release.
Migrating Non-CDBs to New Hardware with the Same Operating System and for a New Release
HTMLPDFGuides you through the scenario in which you migrate your Oracle Database to a new server with the same operating system, and you upgrade your database.
Migrating Non-CDBs to New Hardware with the Same Operating System and Release
HTMLPDFGuides you through the scenario in which you migrate your non-CDB Oracle Database to a new server with the same operating system, and maintan the same Oracle Database release.
Unplugging, Plugging, and Upgrading a PDB to a New CDB
HTMLPDFGuides you through the scenario in which you upgrade your multitenant architecture Oracle Database (pluggable database, or PDB, plugged into a container database, or CDB) by using the unplug/plugin method.
Upgrading and Converting Non-CDBs to a PDB with the Same Operating System
HTMLPDFGuides you through the scenario in which you upgrade and convert your earlier release non-CDB Oracle Database to a multitenant architecture Oracle Database (pluggable database, or PDB, plugged into a container database, or CDB), where the upgraded Oracle Database is on the sam eoperating system as your earlier release Oracle Database.
Upgrading Non-CDBs on the Same System
HTMLPDFGuides you through the scenario in which you upgrade a non-CDB Oracle Database on the same system.
Upgrading PDBs in Parallel on the Same System
HTMLPDFOracle Express Application
Guides you through the scenario in which you upgrade a multitenant architecture Oracle Database (container database, or CDB, and all pluggable databases, or PDBs) on the same system.