Posts

Showing posts with the label Docker build

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

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