Posts

Showing posts with the label docker

Learning 2: MiniKube Kubernetes Cluster WebLogic Application deployment

Image
Hey Middleware Expert, I am going to discuss the Kubernetes cluster deployment. This is most important for the topic in Kubernetes in pod management with replicas and deployment for application Lifecycle management. MiniKube having built-in Kubernetes Dashboard. This post is a continuation of  our  previous post " Learning  1. Minikube  Kubernetes Cluster  Running in the Oracle VirtualBox" . Create a new deployment using a Kubernetes dashboard To create the new deployment in the minikube Kubernetes dashboard click on the 'deployments' under the workload. On the top right select +CREATE  and there are : CREATE FROM TEXT INPUT CREATE FROM FILE CREATE AN APP Select the third option Minikube dash board deployment of WebLogic  For the App Name, we’ll call this deployment 'wls-app'. Container image for WebLogic 12c we will take  ismaleiva90/weblogic12:latest. Here I've used docker pull for this image once it is available in the local docker registry the...

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

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

1. Learning dockerization for WebLogic on Oracle Linux in Vagrant

Image
Writing this blog post after couple of executions experiments and research on docker. The basic requirement for docker is there must be a Linux/Unix based platform. Here I am creating that one on my Windows host machine, and the guest Ubuntu Trusty64 platform with the help of Vagrant and Oracle Virtualbox provider. vagrant Ubuntu docker - Oracle Linux images In this Article I am not dicuss about from the scratch What is docker etc. I'm not talking about Virtualization vs Containerization. Create testnode1 folder on the Windows machine. I've created on F:\testnode1. The Vagrantfile to launch Ubuntu Trusty64 Virtual machine is as follows: Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.define "test" do |testnode1| testnode1.vm.box = "williamyeh/ubuntu-trusty64-docker" testnode1.vm.hostname="testnode1.vybhava.com" testnode1.vm.network "private_network", ip: "192.168.33...