Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 781 Bytes

File metadata and controls

19 lines (11 loc) · 781 Bytes

Example of Image with WLS Domain

This Dockerfile extends the Oracle WebLogic image by creating a sample empty domain.

Util scripts are copied into the image enabling users to plug NodeManager automatically into the AdminServer running on another container.

How to build and run

First make sure you have built oracle/weblogic:12.1.3-developer. Now to build this sample, run:

    $ docker build -t 1213-domain --build-arg ADMIN_PASSWORD=<define> .

To start the Admin Server, run:

    $ docker run -d --name wlsadmin --hostname wlsadmin -p 7001:7001 1213-domain

To start a Managed Server to self-register with the Admin Server above, run:

    $ docker run -d --link wlsadmin:wlsadmin -p 7002:7002 1213-domain createServer.sh