I have a simple question - is there any official, ready-to-go Docker image of Oracle XE database? I cannot find anything on Docker Hub, but maybe I'm searching it wrongly.
The Oracle Database Enterprise Edition Docker image contains Oracle Database 21c Enterprise Edition, with the option to deploy either Enterprise Edition or Standard Edition, running on Oracle Linux 7 (x86-64). This image contains a default database in a multitenant configuration, with one pluggable database.
Using orchestration and automation for containerized applications, developers can self-provision an Oracle database, thereby increasing flexibility and productivity while saving substantial time in creating a production copy for development and testing environments.
Oracle Database Server 12c R2 is an industry leading relational database server. The Oracle Database Server Docker Image contains the Oracle Database Server 12.2. 0.1 Enterprise Edition running on Oracle Linux 7. This image contains a default database in a multi-tenant configuration with a single pluggable database.
By dockerizing your database, you'll be able to duplicate those exact settings on any other machine. You can also instantly boot up an identical database on your machine at any time. A non-containerized local database gives you none of these benefits.
Go to Oracle XE Download Page. Download the version for Linux with .rpm extension. Clone the official Oracle repo from GitHub containing the Dockerfiles. Copy the Oracle XE to the right folder, here I’m assuming version 18.4.0 and that you cloned the repo to the home folder. Enter the folder with the script to build the image:
Oracle Database Express Edition Container / Docker images. The images are compatible with podman and docker. You can use podman or docker interchangeably. Run a new database container (data is removed when the container is removed, but kept throughout container restarts):
I too needed a quick and easy XE Docker image, yet Oracle’s Container Registry did not host an XE image yet (it does now, since about two weeks ago), and all images on Docker Hub that I could find were old 11g R2 XE ones.
docker exec <container name|id> resetPassword <your password> Currently, there is no Oracle Database port for ARM chips, hence Oracle XE images cannot run on the new Apple M chips via Docker Desktop. Fortunately, there are other technologies that can spin up x86_64 software on Apple M chips, such as colima.
This seems to be Oracle's official repository for docker - https://github.com/oracle/docker-images More details here - https://blogs.oracle.com/oraclemagazine/deliver-oracle-database-18c-express-edition-in-containers
there is no official docker image available but you can refer following git repo to make it
https://github.com/freneticdisc/oracle-blog-examples/tree/master/Docker%20-%20Oracle%20Database
or
https://github.com/wnameless/docker-oracle-xe-11g
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With