You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update sample to reference Oracle Container Registry (#393)
* updated sample Dockerfile and documentation to reference the Oracle Container Registry instead of Docker Hub
* switched base image to weblogic:12.2.1.3 generic instead of dev to match samples in operator project
Copy file name to clipboardExpand all lines: samples/docker-domain/README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Care should be taken to secure the credentials that are present in the model. Th
18
18
19
19
See the README file for more information on using property and file tokens in the WDT model.
20
20
21
-
The ADMIN credentials are necessary to start the Admin or Managed Server in a docker container. The sample provides security.properties in the properties/docker-run directory. This file contains the admin credentials and additional properties used to customize the Weblogic Server start.
21
+
The ADMIN credentials are necessary to start the Admin or Managed Server in a docker container. The sample provides security.properties in the properties/docker-run directory. This file contains the admin credentials and additional properties used to customize the WebLogic Server start.
22
22
23
23
Note: Oracle recommends that the adminpass.properties, adminuser.properties and security.properties files be deleted or secured after the image is built and the WebLogic Server are started so that the user name and password are not inadvertently exposed.
24
24
@@ -28,7 +28,9 @@ When the WDT `discoverDomain` tool is used on an existing domain, a ZIP archive
28
28
29
29
### How to Build and Run
30
30
31
-
**NOTE:** The image is based on a WebLogic Server image in the docker-images project: `oracle/weblogic:12.2.1.3-developer`. Build that image to your local repository before building this sample.
31
+
**NOTE:** The image is based on a WebLogic Server image in the Oracle Container Registry: `container-registry.oracle.com/middleware/weblogic:12.2.1.3`. You will need to log in and accept the license agreement on the [Oracle Container Registry](https://container-registry.oracle.com/) before you can use Docker to pull the image.
32
+
Also, don't forget to log in with Docker, `docker login container-registry.oracle.com`, before you try to pull the image, `docker pull container-registry.oracle.com/middleware/weblogic:12.2.1.3`.
33
+
If you prefer, you may want to build your own base image, using the docker-images project for Oracle WebLogic on GitHub as a starting point, [https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/12.2.1.3](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/12.2.1.3).
32
34
33
35
The WebLogic Deploy Tool installer is required to build this image. Add `weblogic-deploy.zip` to the sample directory.
34
36
@@ -67,7 +69,7 @@ To build this sample taking the defaults, run:
This sample provides a Derby Data Source that is targeted to the Managed Server cluster. The Derby database is created
92
94
in the Admin Server container when the container is run. To turn off the database create, set DERBY_FLAG="false" in the
@@ -111,7 +113,7 @@ To start an additional Managed Server (in this example managed-server-2), run:
111
113
112
114
The above scenario from this sample will give you a WebLogic domain with a dynamic cluster set up on a single host environment.
113
115
114
-
You may create more containerized Managed Servers by calling the `docker` command above for `startManagedServer.sh` as long you link properly with the Administration Server. For an example of a multihost environment, see the sample `1221-multihost`.
116
+
You may create more containerized Managed Servers by calling the `docker` command above for `startManagedServer.sh` as long you link properly with the Administration Server. For an example of a multi-host environment, see the sample `1221-multihost`.
115
117
116
118
# Copyright
117
119
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
0 commit comments