Skip to content

Commit 280dce5

Browse files
committed
Issue #134 - Updated README.md with latest changes
1 parent b3d21fe commit 280dce5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

samples/docker-domain/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ When the WDT discoverDomain tool is used on an existing domain, a ZIP archive is
1818

1919
### How to Build and Run
2020

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.
21+
**NOTE:** The image is based on a WebLogic image in the docker-images project: oracle/weblogic:12.2.1.3-developer . Build that image to your local repository before building this sample.
2222

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

@@ -33,21 +33,22 @@ To build this sample, run:
3333
$ docker build \
3434
--build-arg WDT_MODEL=simple-topology.yaml \
3535
--build-arg WDT_ARCHIVE=archive.zip \
36+
--force-rm=true \
3637
-t 12213-domain-wdt .
3738

3839
This will use the model file and archive in the sample directory.
3940

4041
To start the containerized Administration Server, run:
4142

42-
$ docker run -d --name wlsadmin --hostname wlsadmin -p 7001:7001 --env-file ./container-scripts/domain.properties 12213-domain-wdt
43+
$ docker run -d --name wlsadmin --hostname wlsadmin -p 7001:7001 -v <sample-directory>/properties:/u01/oracle/properties 12213-domain-wdt
4344

4445
To start a containerized Managed Server (ms-1) to self-register with the Administration Server above, run:
4546

46-
$ docker run -d --name ms-1 --link wlsadmin:wlsadmin -p 9001:9001 --env-file ./container-scripts/domain.properties -e ADMIN_PASSWORD=<admin_password> -e MS_NAME=ms-1 12213-domain-wdt startManagedServer.sh
47+
$ docker run -d --name ms-1 --link wlsadmin:wlsadmin -p 9001:9001 -v <sample-directory>/properties:/u01/oracle/properties -e MS_NAME=ms-1 12213-domain-wdt startManagedServer.sh
4748

4849
To start an additional Managed Server (in this example ms-2), run:
4950

50-
$ docker run -d --name ms-2 --link wlsadmin:wlsadmin -p 9002:9001 --env-file ./container-scripts/domain.properties -e ADMIN_PASSWORD=<admin_password> -e MS_NAME=ms-2 12213-domain-wdt startManagedServer.sh
51+
$ docker run -d --name ms-2 --link wlsadmin:wlsadmin -p 9002:9001 -v <sample-directory>/properties:/u01/oracle/properties -e MS_NAME=ms-2 12213-domain-wdt startManagedServer.sh
5152

5253
The above scenario from this sample will give you a WebLogic domain with a dynamic cluster set up on a single host environment.
5354

0 commit comments

Comments
 (0)