Oracle Adf & Docker – How to run Oracle XE Database in Docker container

Oracle Adf & Docker – How to run Oracle XE Database in Docker container

The time is one of the most valuable goods which you can control. On the other hand, saving the time means that you can spend it on something else. In this post I’ll show you how you can save some time using Docker containers. Are you ready?


Requirements

 

Docker installation

 

Permissions

To enable the user to manage containers, add him to the docker  group. You have to re-login for the changes to take effect.

Downloading database Docker image

Make sure that Oracle XE 11g Database Docker image is available on Docker Hub or you can search it using command:

And the just pull the image.

Create database

You can create as many containers as you want. The script below creates two docker containers with oracle XE 11g database. Please notice that I used different names and exposed ports for containers.

Manage containers

Starting Oracle XE 11g docker container:


Stopping Oracle XE 11g docker container:

Renaming Oracle XE 11g docker container:

Removing Oracle XE 11g docker container:

3
Leave a Reply

avatar
3 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Oracle MOOC: Introduction to PL/SQL Program Units 2018 – Better-CodingOracle ADF and Gradle integration – part#2: SonarQube – Better-CodingADF and Gradle integration – part#1: Assembling ADF project using OJDeploy – Better-Coding Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] the purposes of this tutorial I’ll use an application from my previous post, where I showed you how to create simple ADF application which use Oracle Database Express Edition […]

trackback

[…] first, make sure you have docker installed correctly (here you can find how to properly install docker on linux OS). Install docker-compose tool by running […]

trackback

[…] Oracle Adf & Docker – How to run Oracle XE Database in Docker container […]

Close Menu