HOWTO
- Create k8s Docker pull registry secret https://oracle.github.io/weblogic-kubernetes-operator/quickstart/prepare/
- Oracle Container Registry https://container-registry.oracle.com/
- https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrypullingimagesfromocir.htm
- https://oracle.github.io/weblogic-kubernetes-operator/base-images/access-images/
- https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
- gcloud auth Docker config https://cloud.google.com/sdk/gcloud/reference/auth/configure-docker
Prepare domain - create Oracle container registry secret
Accept the license agreement for WebLogic Server images.
a. In a browser, go to the Oracle Container Registry (OCR) and log in using the Oracle Single Sign-On (SSO) authentication service. If you do not already have SSO credentials, then at the top, right side of the page, click Sign In to create them.
b. Search for
weblogic
, then selectweblogic
in the Search Results.c. From the drop-down menu, select your language and click Continue.
d. Then read and accept the license agreement.
Create a
docker-registry
secret to enable pulling the example WebLogic Server image from the registry.$ kubectl create secret docker-registry weblogic-repo-credentials \ --docker-server=container-registry.oracle.com \ --docker-username=YOUR_REGISTRY_USERNAME \ --docker-password=YOUR_REGISTRY_PASSWORD \ --docker-email=YOUR_REGISTRY_EMAIL \ -n sample-domain1-ns
Replace
YOUR_REGISTRY_USERNAME
,YOUR_REGISTRY_PASSWORD - use AUTHTOKEN, not password
, andYOUR_REGISTRY_EMAIL
with the values you use to access the registry.
Product Home | and Oracle Linux version | Dated Tag | Non Dated Tag (latest) |
---|---|---|---|
Oracle WebLogic Server 14.1.1.0 Generic Installation | 11.0.21 + Oracle Linux 7u9 | 14.1.1.0-11-230718 | 14.1.1.0-11 |
Oracle WebLogic Server 14.1.1.0 Generic Installation | 11.0.21 + Oracle Linux 8u4 | 14.1.1.0-11-ol8-230718 | 14.1.1.0-11-ol8 |
$ docker pull container-registry.oracle.com/middleware/weblogic:14.1.1.0
14.1.1.0: Pulling from middleware/weblogic
cd17e56c322c: Pull complete
159378624825: Pull complete
c04549775f16: Pull complete
3843b8b6117a: Pull complete
8c356b9f7aaa: Pull complete
800aaf7a8639: Pull complete
Digest: sha256:1b5c18b921fdc8367c07b5feb38189da06e7cb6d519ca125c7c50794e0ec2b29
Status: Downloaded newer image for container-registry.oracle.com/middleware/weblogic:14.1.1.0
container-registry.oracle.com/middleware/weblogic:14.1.1.0
Downloaded image
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
container-registry.oracle.com/middleware/weblogic 14.1.1.0 17f98eb6bba3 3 years ago 1.33GB