Oracle WebLogic Server 14.1.1.0.0 Docker Image
Posted by Dirk Nachbar on Wednesday, April 01, 2020
As since around 2 days the latest Oracle WebLogic Server 14.1.1.0.0 was released, I had some time to create Docker Images for the Oracle WebLogic Server 14.1.1.0.0
I have created two versions based on WebLogic Server 14.1.1.0.0 Generic with JDK 11:
The Readme for the usage is under https://github.com/DirkNachbar/Docker/blob/master/OracleWebLogic/README1411.md
So just clone the above mentioned GitHub Repository, get the 2 required installation files:
Drop the JDK 11.0.6 installer into the directory Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/serverjre/java-11
At first you need to run the script Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/serverjre/java-11/buildDockerImage.sh
After that you should have a Docker Image for your JDK 11.
As next you have to run the script Docker/OracleWebLogic/dockerfiles/buildDockerImage.sh
In order to get a running WebLogic 14.1.1.0.0 Container you just need to align at first the domain.properties under Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/properties with your preferred WebLogic username and password and execute your docker run command
I have created two versions based on WebLogic Server 14.1.1.0.0 Generic with JDK 11:
- General Docker Image (not optimized with space usage)
- Optimized Docker Image (nearly 50% space savings)
The Readme for the usage is under https://github.com/DirkNachbar/Docker/blob/master/OracleWebLogic/README1411.md
So just clone the above mentioned GitHub Repository, get the 2 required installation files:
- WebLogic Server 14.1.1.0.0 Generic https://www.oracle.com/middleware/technologies/fusionmiddleware-downloads.html
- Oracle JDK 11.0.6 tar.gz file https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
Drop the JDK 11.0.6 installer into the directory Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/serverjre/java-11
At first you need to run the script Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/serverjre/java-11/buildDockerImage.sh
After that you should have a Docker Image for your JDK 11.
# docker images | grep jdk REPOSITORY TAG IMAGE ID CREATED SIZE oracle/jdk 11 19088de5fc56 23 minutes ago 422MB
As next you have to run the script Docker/OracleWebLogic/dockerfiles/buildDockerImage.sh
# $ ./buildDockerImage.sh -v 14.1.1.0.0 -o Checking if required packages are present and valid... fmw_14.1.1.0.0_wls_Disk1_1of1.zip: OK ===================== Building image 'oracle/weblogic:14.1.1.0.0-optimized' ... Sending build context to Docker daemon 1.111GB Step 1/17 : FROM oracle/jdk:11 as base . . . . . . Successfully built ebe06a93a85b Successfully tagged oracle/weblogic:14.1.1.0.0-optimized WebLogic Docker Image for 'optimized' version 14.1.1.0.0 is ready to be extended: --> oracle/weblogic:14.1.1.0.0-optimized Build completed in 76 seconds. $ docker images | grep weblogic REPOSITORY TAG IMAGE ID CREATED SIZE oracle/weblogic 14.1.1.0.0-optimized ebe06a93a85b 5 minutes ago 1.62GB
In order to get a running WebLogic 14.1.1.0.0 Container you just need to align at first the domain.properties under Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/properties with your preferred WebLogic username and password and execute your docker run command
# # Define the Docker Image based on your above Docker Image build # Either its "oracle/weblogic:14.1.1.0.0-optimized" or "oracle/weblogic:14.1.1.0.0-generic" $ docker run -d --name <ContainerName> \ -p 7001:7001 -p 9002:9002 \ -v <Host Path to subdirectory properties>:/u01/oracle/properties \ -e ADMINISTRATION_PORT_ENABLED=true -e DOMAIN_NAME=<DomainName> \ oracle/weblogic:14.1.1.0.0-optimized $ docker logs -f <ContainerName> # For Example: $ docker run -d --name wls1411optimized \ -p 7001:7001 -p 9002:9002 \ -v /projects/Docker/OracleWebLogic/dockerfiles/14.1.1.0.0/properties:/u01/oracle/properties \ -e ADMINISTRATION_PORT_ENABLED=true -e DOMAIN_NAME=OptimizedDomain \ oracle/weblogic:14.1.1.0.0-optimized $ docker logs -f wls1411optimized . . . . . . <Apr 1, 2020, 12:40:28,980 PM Greenwich Mean Time> <Notice> <WebLogicServer> <BEA-000329> <Started the WebLogic Server Administration Server "AdminServer" for domain "OptimizedDomain" running in production mode.> <Apr 1, 2020, 12:40:28,980 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 172.17.0.2:7002 for protocols iiops, t3s, ldaps, https.> <Apr 1, 2020, 12:40:28,981 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.17.0.2:7001 for protocols iiop, t3, ldap, snmp, http.> <Apr 1, 2020, 12:40:28,981 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <Apr 1, 2020, 12:40:28,982 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on 127.0.0.1:7002 for protocols iiops, t3s, ldaps, https.> <Apr 1, 2020, 12:40:28,983 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 172.17.0.2:7002 for protocols iiops, t3s, ldaps, https.> <Apr 1, 2020, 12:40:28,983 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.17.0.2:7001 for protocols iiop, t3, ldap, snmp, http.> <Apr 1, 2020, 12:40:28,984 PM Greenwich Mean Time> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <Apr 1, 2020, 12:40:29,010 PM Greenwich Mean Time> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> <Apr 1, 2020, 12:40:29,021 PM Greenwich Mean Time> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
Categories: Oracle WebLogic Server, Oracle WebLogic Server 14c