Quantcast
Channel: DevOps tips & tricks
Viewing all articles
Browse latest Browse all 181

Weblogic k8s Operator - pull Docker images from Oracle Container Registry

$
0
0

 HOWTO



Prepare domain - create Oracle container registry secret

  1. 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 select weblogic in the Search Results.

    c. From the drop-down menu, select your language and click Continue.

    d. Then read and accept the license agreement.

  2. 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_USERNAMEYOUR_REGISTRY_PASSWORD - use AUTHTOKEN, not password, and YOUR_REGISTRY_EMAIL with the values you use to access the registry.



Product Homeand Oracle Linux versionDated TagNon Dated Tag (latest)
Oracle WebLogic Server 14.1.1.0 Generic Installation11.0.21 + Oracle Linux 7u914.1.1.0-11-23071814.1.1.0-11
Oracle WebLogic Server 14.1.1.0 Generic Installation11.0.21 + Oracle Linux 8u414.1.1.0-11-ol8-23071814.1.1.0-11-ol8












Pull Docker Weblogic 14.1.1 image from OCR
$ 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


Viewing all articles
Browse latest Browse all 181

Trending Articles