How To Dockerize WebLogic For Java EE 7

To create a WLS 12.2.1 docker image (Java EE 7) perform the following steps:

  1. Download current JRE 1.8: server-jre-8u77-linux-x64.tar.gz
  2. Download WLS 12.2.1 disk image: fmw_12.2.1.0.0_wls_quick_Disk1_1of1.zip
  3. Clone the official Oracle Docker Image repository with: git clone https://github.com/oracle/docker-images/tree/master/OracleWebLogic
  4. cd /docker-images/OracleWebLogic/dockerfiles/
  5. Copy the downloaded files into the folder 12.2.1 (should correspond with the version specified after the -v flag below)
  6. Build the image with: ./buildDockerImage.sh -v 12.2.1 -d -s
  7. Now the WLS is built. To create a sample domain go the the subdirectory: cd /docker-images/OracleWebLogic/samples/1221-domain and then execute: docker build -t 1221-domain --build-arg ADMIN_PASSWORD=welcome1 . (as suggested)
  8. Run the image with docker run -d -p 8001:8001 --name 1221-domain 1221-domain (as suggested)

The full docker build takes 238 seconds (highly dependent on the machine).

Deploy ping with: docklands and wls-ping. Read about Java EE 7 WebLogic 12.2.1 server smoke test for Java EE 7.

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License