Posts

Showing posts with the label docker-compose

3. Learning How to build Best Docker images?

Image
The containerization concept was available since the 1978s in the UNIX. but the real usage and evaluation started from the year 2014 onward, a small community of docker open-source organizations started to focus on it and developing it. In the last post, we had the unofficial image then it went up the size up to 3.8 GB. But same logic if we try on Oracle Linux 7-Slim version image it reduced 1 GB!!!   Use Layered approach for Oracle images   Most of the developers question how do we deliver it to end-user when you create the containers for WebLogic. The best practice to use the layered approach for WebLogic applications. We have demonstrated with the following layer approach the whole stack is going to break down into two major parts: Read-only  Read-write  The latest image is on top which is only allows you to modify the content. where application jar/war/ear file will be deployed. The bottom stack will be re-used by multiple developers to build ...

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: ...

5. docker-compose for WebLogic cluster deployment

Image
In the earlier post you have seen how to use docker-compose for WebLogic images to build and also run the container with new application deployment. In this post you will be able to see the WebLogic managed servers forms cluster and the application will be deployed on top of it. Prerequisites Let me keep the list of prerequisite steps which you can follow my previous blog post or youtube video.  docker pull oraclelinux:7-slim   git clone https://github.com/oracle/docker-images.git  download server-jre1.8 latest version copy to OracleJava/dockerfiles build the image and make it as oracle/serverjre:8 download weblogic 12.2.1.2.0 quick installer which is used for development, it is small in size. image name it as oracle/weblogic:12.2.1.2-developer   create new docker images where 12212-domain:latest using WLST and shell script which are available in container scripts.  create new docker images named as 1221-appdeploy:latest where it uses 12212-doma...