Posts

Showing posts with the label Oracle DevOps

The docker-compose for Oracle 12c XE

Image
Oracle Database 12.1.0.2 Express Edition After a while got time to explore the new learning in my way. Oracle 12.1.0.2 Express edition on docker container is my goal. In this post I am going to explain you how did I achieved this with different path of using docker-compose commands to bringing up the automated XE container. The regular choice is defined in GitHub and Docker hub it was mentioned to use docker pull and docker run commands to use. Advantages of containerizing Oracle 12c XE No need to download any software from OTN No need to install - dockerfile will take care of it No need to run dbca for Database cration - executed moment container boot time No need to start LISTENER, STARTUP database because this container choosen is AUTOMATED [OK] Lets search for the Oracle 12c XE docker search oracle12c Output of docker search result Docker Oracle 12c XE search The docker-compose for Oracle 12c XE Database oracle12cxe: image: rodrigozc/oracle12c ports: ...

2. Writing Dockerfiles to install JDK and WebLogic to create docker images

Image
We have a couple of options to create the docker images. In the last post, we got the docker installed Linux environment available. Now in this post, we will develop the Dockerfile such that it can create an image that can have Java JRE installed and WebLogic 12c installed. Lets jump on the task where we will prepare, create the Dockerfile and build the image and run the container to check all done successful. Prepare software installation Remember that official images always the preferable choice. When you search for docker images from the public repository that is hub.docker.com. We might get a huge list some of them are Automated some of them are not. The only one will be committed as an Official Image. Here selecting an image is also a strategy, logic inside. So carefully proceed further. We need to install Java Development Kit JDK latest version and WebLogic in silent mode installation. Step 1: Copy installers to data folder this is my convention I've used Here f...