Skip to content

Commit f56eb0a

Browse files
update WLS image location, jenkins-ignore
1 parent 446b3ad commit f56eb0a

File tree

1 file changed

+33
-31
lines changed
  • docs-source/content/userguide/managing-domains/domain-in-image/base-images

1 file changed

+33
-31
lines changed

docs-source/content/userguide/managing-domains/domain-in-image/base-images/_index.md

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ description: "Creating or obtaining WebLogic Docker images."
88
#### Contents
99

1010
* [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)
1313
* [Creating a custom image with patches applied](#creating-a-custom-image-with-patches-applied)
1414
* [Creating a custom image with your domain inside the image](#creating-a-custom-image-with-your-domain-inside-the-image)
1515

@@ -24,73 +24,75 @@ There are two main options available:
2424
and the domain directory.
2525

2626
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);
2828
this image already contains the mandatory patches applied as described in [this section](#creating-a-custom-image-with-patches-applied).
2929
If you want to use additional patches, you can customize that process to include additional patches.
3030

3131
If you want to use the second option, which includes the domain directory
3232
inside the Docker image, then you will need to build your own Docker images
3333
as described in [this section](#creating-a-custom-image-with-your-domain-inside-the-image).
3434

35-
#### Setting up secrets to access the Docker store
35+
#### Setting up secrets to access the Oracle Container Registry
3636

3737
{{% 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.
3939
{{% /notice %}}
4040

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:
4242

4343
```
44-
$ kubectl create secret docker-registry SECRET_NAME
45-
-n NAMESPACE
46-
--docker-server=index.docker.io/v1/
47-
--docker-username=YOUR_USERNAME
48-
--docker-password=YOUR_PASSWORD
44+
$ kubectl create secret docker-registry SECRET_NAME \
45+
-n NAMESPACE \
46+
--docker-server=container-registry.oracle.com \
47+
--docker-username=YOUR_USERNAME \
48+
--docker-password=YOUR_PASSWORD \
4949
--docker-email=YOUR_EMAIL
5050
```
5151

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.
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.
5353

5454
It may be preferable to manually pull the image in advance, on each Kubernetes worker node, as described in the next section.
5555
If you choose this approach, you do not require the Kubernetes secret.
5656

57-
#### Obtaining standard images from the Docker store
57+
#### Obtaining standard images from the Oracle Container Registry
5858

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.
6660

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:
6870

6971
```
70-
$ docker login
72+
$ docker login container-registry.oracle.com
7173
```
7274

7375
Then, you can pull the image with this command:
7476

7577
```
76-
$ docker pull store/oracle/weblogic:12.2.1.3
78+
$ docker pull container-registry.oracle.com/middleware/weblogic:12.2.1.3
7779
```
7880
If desired, you can:
7981

80-
* 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'`
8183

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'`
8385

8486
Additional information about using this image is available on the
85-
Docker store.
87+
Oracle Container Registry.
8688

8789
#### Creating a custom image with patches applied
8890

8991
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.
9193

9294
[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.
9496

9597
When using that sample, you will need to download the required patch and also
9698
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
108110
```
109111

110112
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
112114
as follows:
113115

114116
```
115-
FROM store/oracle/weblogic:12.2.1.3
117+
FROM container-registry.oracle.com/middleware/weblogic:12.2.1.3
116118
```
117119

118120
After running `docker build` as described in the sample, you
@@ -131,7 +133,7 @@ are provided that demonstrate how to create the image using:
131133

132134
In these samples, you will see a reference to a "base" or `FROM` image. You should use an image
133135
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.
135137

136138
{{% notice note %}}
137139
Oracle recommends that Docker images containing WebLogic domains

0 commit comments

Comments
 (0)