Skip to content

Commit daafc38

Browse files
committed
Issue #130 - Updated README.md from review comments
1 parent 527f5d2 commit daafc38

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

samples/docker-domain/README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
Example Image with a WLS Domain
2-
================================
3-
This Dockerfile extends the Oracle WebLogic image by creating a sample WLS 12.2.1.3 domain and cluster from a WebLogic Deploy Tool model.
1+
Example Image with a WLS Domain
2+
===============================
3+
This Dockerfile extends the Oracle WebLogic image by creating a sample WLS 12.2.1.3 domain and cluster. Utility scripts are copied into the image, enabling users to plug Node Manager automatically into the Administration Server running on another container.
44

5-
Utility scripts are copied into the image, enabling users to plug Node Manager automatically into the Administration Server running on another container.
5+
The Dockerfile uses the createDomain script from the Oracle WebLogic Deploy Tooling (WDT) to create the domain from a text-based model file. More information about WDT is available in the README file for the WDT project in GitHub:
66

7-
### WebLogic Deploy Tool
7+
https://github.com/oracle/weblogic-deploy-tooling
88

9-
The WebLogic Deploy Tool is used to create the domain image from a model file. Details about the tool and the model file format can be found in its GitHub project:
9+
### WDT Model File and Archive
1010

11-
https://github.com/oracle/weblogic-deploy-tooling
11+
This sample includes a basic WDT model, simple-topology.yaml, that describes the intended configuration of the domain within the Docker image. WDT models can be created and modified using a text editor, following the format and rule described in the README file for the WDT project in GitHub.
12+
13+
Another option is to use the WDT discoverDomain tool to create a model. This process is also described in the WDT project's README file. A user can use the tool to analyze an existing domain, and create a model based on its configuration. The user may choose to customize the model before using it to create a new docker image.
14+
15+
Domain creation may require the deployment of applications and libraries. This is accomplished by creating a zip archive with a specific structure, then referencing those items in the model. This sample creates and deploys a simple ZIP archive containing a small application WAR. That archive is built in the sample directory prior to creating the Docker image.
16+
17+
When the WDT discoverDomain tool is used on an existing domain, a ZIP archive is created containing any necessary applications and libraries. The corresponding configuration for those applications and libraries is added to the model.
1218

1319
### How to Build and Run
1420

15-
**NOTE:** The image is based on a WebLogic image in the Docker store: store/oracle/weblogic:12.2.1.3 . Verify that you have access to download this image.
21+
**NOTE:** The image is based on a WebLogic image in the Docker store: store/oracle/weblogic:12.2.1.3 . Download this image to your local repository before building the image.
1622

1723
The WebLogic Deploy Tool installer is required to build this image. Add weblogic-deploy.zip to the sample directory.
1824

@@ -26,9 +32,10 @@ To build this sample, run:
2632

2733
$ docker build \
2834
--build-arg WDT_MODEL=simple-topology.yaml \
35+
--build-arg WDT_ARCHIVE=archive.zip \
2936
-t 12213-domain-wdt .
3037

31-
This will use the model file in the sample directory.
38+
This will use the model file and archive in the sample directory.
3239

3340
To start the containerized Administration Server, run:
3441

0 commit comments

Comments
 (0)