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
*[Creating or obtaining WebLogic Docker images](#creating-or-obtaining-weblogic-docker-images)
11
-
*[Setting up secrets to access the Docker store](#setting-up-secrets-to-access-the-docker-store)
12
-
*[Obtaining standard images from the Docker store](#obtaining-standard-images-from-the-docker-store)
11
+
*[Setting up secrets to access the Oracle Container Registry](#setting-up-secrets-to-access-the-oracle-container-registry)
12
+
*[Obtaining standard images from the Oracle Container Registry](#obtaining-standard-images-from-the-oracle-container-registry)
13
13
*[Creating a custom image with patches applied](#creating-a-custom-image-with-patches-applied)
14
14
*[Creating a custom image with your domain inside the image](#creating-a-custom-image-with-your-domain-inside-the-image)
15
15
@@ -24,73 +24,75 @@ There are two main options available:
24
24
and the domain directory.
25
25
26
26
If you want to use the first option, you will need to obtain the standard
27
-
WebLogic Server image from the Docker store, [see here](#obtaining-standard-images-from-the-docker-store);
27
+
WebLogic Server image from the Oracle Container Registry, [see here](#obtaining-standard-images-from-the-oracle-container-registry);
28
28
this image already contains the mandatory patches applied as described in [this section](#creating-a-custom-image-with-patches-applied).
29
29
If you want to use additional patches, you can customize that process to include additional patches.
30
30
31
31
If you want to use the second option, which includes the domain directory
32
32
inside the Docker image, then you will need to build your own Docker images
33
33
as described in [this section](#creating-a-custom-image-with-your-domain-inside-the-image).
34
34
35
-
#### Setting up secrets to access the Docker store
35
+
#### Setting up secrets to access the Oracle Container Registry
36
36
37
37
{{% notice note %}}
38
-
This version of the operator requires WebLogic Server 12.2.1.3.0 plus patch 29135930; the standard image`store/oracle/weblogic:12.2.1.3` already includes this patch pre-applied.
38
+
This version of the operator requires WebLogic Server 12.2.1.3.0 plus patch 29135930; the standard image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, already includes this patch pre-applied.
39
39
{{% /notice %}}
40
40
41
-
In order for Kubernetes to obtain the WebLogic Server Docker image from the Docker store, which requires authentication, a Kubernetes secret containing the registry credentials must be created. To create a secret with Docker store credentials, issue the following command:
41
+
In order for Kubernetes to obtain the WebLogic Server Docker image from the Oracle Container Registry (OCR), which requires authentication, a Kubernetes secret containing the registry credentials must be created. To create a secret with the OCR credentials, issue the following command:
In this command, replace the uppercase items with the appropriate values. The `SECRET_NAME` will be needed in later parameter files. The `NAMESPACE` must match the namespace where the first domain will be deployed, otherwise Kubernetes will not be able to find it.
52
+
In this command, replace the uppercase items with the appropriate values. The `SECRET_NAME` will be needed in later parameter files. The `NAMESPACE` must match the namespace where the first domain will be deployed, otherwise, Kubernetes will not be able to find it.
53
53
54
54
It may be preferable to manually pull the image in advance, on each Kubernetes worker node, as described in the next section.
55
55
If you choose this approach, you do not require the Kubernetes secret.
56
56
57
-
#### Obtaining standard images from the Docker store
57
+
#### Obtaining standard images from the Oracle Container Registry
58
58
59
-
Oracle provides a [WebLogic Server 12.2.1.3.0 Docker image](https://store.docker.com/_/oracle-weblogic-server-12c) in the
60
-
[Docker store](https://store.docker.com) which already has the necessary patches applied. To obtain that image, you
61
-
must have a Docker store account, log on to the Docker store, navigate
62
-
to that image and click the "Proceed to Checkout" button which will
63
-
prompt you to read and accept the license agreement for the image.
64
-
After you have accepted the license agreement, you will be able to
65
-
pull the image using your Docker store credentials.
59
+
The Oracle Container Registry contains images for licensed commercial Oracle software products that you may use in your enterprise. To access the Oracle Registry Server, you must have an Oracle Single Sign-On (SSO) account. The Oracle Container Registry provides a web interface that allows an administrator to authenticate and then to select the images for the software that your organization wishes to use. Oracle Standard Terms and Restrictions terms must be agreed to via the web interface. After the Oracle Standard Terms and Restrictions have been accepted, you can pull images of the software from the Oracle Container Registry using the standard Docker pull command.
66
60
67
-
First, you will need to log in to the Docker store:
61
+
To pull an image from the Oracle Container Registry, in a web browser, navigate to https://container-registry.oracle.com and log in
62
+
using the Oracle Single Sign-On authentication service. If you do not already have SSO credentials, click the Sign In link to create them.
63
+
64
+
Use the web interface to accept the Oracle Standard Terms and Restrictions for the Oracle software images that you intend to deploy.
65
+
Your acceptance of these terms are stored in a database that links the software images to your Oracle Single Sign-On login credentials.
66
+
67
+
The Oracle Container Registry provides a WebLogic Server 12.2.1.3.0 Docker image which already has the necessary patches applied.
68
+
69
+
First, you will need to log in to the Oracle Container Registry:
* Check the WLS version with `docker run store/oracle/weblogic:12.2.1.3 sh -c``'source $ORACLE_HOME/wlserver/server/bin/setWLSEnv.sh > /dev/null 2>&1 && java weblogic.version'`
82
+
* Check the WLS version with `docker run container-registry.oracle.com/middleware/weblogic:12.2.1.3 sh -c``'source $ORACLE_HOME/wlserver/server/bin/setWLSEnv.sh > /dev/null 2>&1 && java weblogic.version'`
81
83
82
-
* Check the WLS patches with `docker run store/oracle/weblogic:12.2.1.3 sh -c``'$ORACLE_HOME/OPatch/opatch lspatches'`
84
+
* Check the WLS patches with `docker run container-registry.oracle.com/middleware/weblogic:12.2.1.3 sh -c``'$ORACLE_HOME/OPatch/opatch lspatches'`
83
85
84
86
Additional information about using this image is available on the
85
-
Docker store.
87
+
Oracle Container Registry.
86
88
87
89
#### Creating a custom image with patches applied
88
90
89
91
The Oracle WebLogic Server Kubernetes Operator requires patch 29135930.
90
-
This patch does have some prerequisite patches that will also need to be applied. The standard image `store/oracle/weblogic:12.2.1.3` already has all of these patches applied.
92
+
This patch does have some prerequisite patches that will also need to be applied. The standard image `container-registry.oracle.com/middleware/weblogic:12.2.1.3` already has all of these patches applied.
91
93
92
94
[This sample](https://github.com/oracle/docker-images/blob/master/OracleWebLogic/samples/12213-patch-wls-for-k8s/README.md) in
93
-
the Oracle GitHub Docker images repository demonstrates how to create an image with arbitrary patches, starting from an unpatched WebLogic Server 12.2.1.3 image (not the standard `store/oracle/weblogic:12.2.1.3` pre-patched image). You can customize that sample to apply a different set of patches, if you require additional patches or PSUs.
95
+
the Oracle GitHub Docker images repository demonstrates how to create an image with arbitrary patches, starting from an unpatched WebLogic Server 12.2.1.3 image (not the standard `container-registry/middleware/weblogic:12.2.1.3` pre-patched image). You can customize that sample to apply a different set of patches, if you require additional patches or PSUs.
94
96
95
97
When using that sample, you will need to download the required patch and also
96
98
some prerequisite patches. To find the correct version of the patch, you should
@@ -108,11 +110,11 @@ FROM oracle/weblogic:12.2.1.3-developer
108
110
```
109
111
110
112
You can change this to use the standard WebLogic Server image you
111
-
downloaded from the Docker store by updating the `FROM` statement
113
+
downloaded from the OCR by updating the `FROM` statement
112
114
as follows:
113
115
114
116
```
115
-
FROM store/oracle/weblogic:12.2.1.3
117
+
FROM container-registry.oracle.com/middleware/weblogic:12.2.1.3
116
118
```
117
119
118
120
After running `docker build` as described in the sample, you
@@ -131,7 +133,7 @@ are provided that demonstrate how to create the image using:
131
133
132
134
In these samples, you will see a reference to a "base" or `FROM` image. You should use an image
133
135
with the mandatory patches installed as this base image. This image could be either
134
-
the standard `store/oracle/weblogic:12.2.1.3` pre-patched image or an image you created using the instructions above.
136
+
the standard `container-registry.oracle.com/middleware/weblogic:12.2.1.3` pre-patched image or an image you created using the instructions above.
135
137
136
138
{{% notice note %}}
137
139
Oracle recommends that Docker images containing WebLogic domains
0 commit comments