Posts

Showing posts from July, 2017

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

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