Hello
We have official docker files available to build the Oracle 18c Database in docker. Please go to this link.
https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles
To build this
- Install docker in your windows and switch to Linux
- Download the 18c database zip file to the docker directory and copy to c:\users\docker\18.3.0\dockerfiles\
- Download the docker files from GitHub (above link) , just copy the 18.3.0 folder into c:\users\docker\
Build the image process
Open command prompt
cd c:/users/docker/18.3.0/
Here the oracle/database:18.3.0-ee is image name and
docker build --force-rm=true --no-cache=true -f Dockerfile.ee -t oracle/database:18.3.0-ee .
You can see the steps involved in the window (click on image for best viewing)
Finally, you will get this
Let's check the docker image built listed
Run the docker and start the database
docker run --name orcl18c -p 1521:1521 -p 5500:5500 -e ORACLE_SID=ORCLC18C -e ORACLE_PDB=PDB18C -e ORACLE_PWD=admin123 -e ORACLE_CHARACTERSET=AL32UTF8 oracle/database:18.3.0-ee
As you see, 18.3.0-ee image built now get into the container and check database
The Oracle 18c database is up and running and you can build as many as containers you want.
-Thanks
Suresh
Is There any different licencing to oracle using in docker? or same as older strategy?
Hi Ramu
Currently there is no mention of Docker in the licensing link. However the docker will be considered as physical hard partitioning as like VM’s, so you have to license all CPU’s in the esx in the farm.
For licensing , its better to talk with oracle account manager and get better visibility of it.
-Thanks
Suresh
Hi Ramu
Currently there is no mention of Docker in the licensing link. However the docker will be considered as physical hard partitioning as like VM’s, so you have to license all CPU’s in the esx in the farm.
For licensing , its better to talk with oracle account manager and get better visibility of it.
-Thanks
Suresh