{"id":70,"date":"2023-07-31T12:18:51","date_gmt":"2023-07-31T12:18:51","guid":{"rendered":"http:\/\/192.168.0.142\/?p=70"},"modified":"2023-08-02T04:37:24","modified_gmt":"2023-08-02T04:37:24","slug":"mirror-registry-quay-registry-installation-on-rhel-9-2","status":"publish","type":"post","link":"http:\/\/192.168.0.142\/mirror-registry-quay-registry-installation-on-rhel-9-2\/","title":{"rendered":"Mirror registry (Quay registry) installation on RHEL 9.2"},"content":{"rendered":"\n

The mirror registry for Red Hat OpenShift is a small and streamlined container registry that you can use as a target for mirroring the required container images of OpenShift Container Platform for disconnected installations.<\/p>\n\n\n\n

Prerequisite<\/strong><\/p>\n\n\n\n

Red Hat Enterprise Linux 9.2.<\/p>\n\n\n\n

Please refer Installation of Red Hat Enterprise Linux 9.2 using developer account<\/a> for installation of RHEL 9.2.<\/p>\n\n\n\n

Set hostname for the system<\/strong><\/p>\n\n\n\n

sudo hostname <host-name><\/code><\/pre>\n\n\n\n

Reference is given below<\/strong><\/p>\n\n\n\n

$ sudo hostname quay.local\n$ hostname\nquay.local<\/code><\/pre>\n\n\n\n

Download mirror registry package from Red Hat download site<\/a>.<\/strong><\/p>\n\n\n\n

\"Mirror<\/figure>\n\n\n\n

The mirror registry package can be downloaded into system using wget as well.<\/p>\n\n\n\n

wget https:\/\/developers.redhat.com\/content-gateway\/rest\/mirror\/pub\/openshift-v4\/clients\/mirror-registry\/latest\/mirror-registry.tar.gz<\/code><\/pre>\n\n\n\n

Extract mirror registry<\/strong><\/p>\n\n\n\n

tar xzvf mirror-registry.tar.gz <\/code><\/pre>\n\n\n\n

For e.g.<\/p>\n\n\n\n

$ ls\nmirror-registry.tar.gz\n$ tar xzvf mirror-registry.tar.gz \nimage-archive.tar\nexecution-environment.tar\nmirror-registry<\/code><\/pre>\n\n\n\n

Create a directory for quay root config<\/strong><\/p>\n\n\n\n

mkdir -p ~\/quay\/install<\/code><\/pre>\n\n\n\n

Install mirror registry using below command<\/strong><\/p>\n\n\n\n

.\/mirror-registry install --quayHostname <host-name> --quayRoot \/home\/rinoy\/quay\/install --initPassword <password> <\/code><\/pre>\n\n\n\n

For e.g.<\/strong><\/p>\n\n\n\n

 .\/mirror-registry install --quayHostname quay.local --quayRoot \/home\/rinoy\/quay\/install --initPassword welcome123#<\/code><\/pre>\n\n\n\n

After successful installation, below message is displayed in console at the end. <\/strong><\/p>\n\n\n\n

INFO[2023-07-31 18:15:35] Quay installed successfully, config data is stored in \/home\/rinoy\/quay\/install \nINFO[2023-07-31 18:15:35] Quay is available at https:\/\/quay.local:8443 with credentials (init, welcome123#) <\/code><\/pre>\n\n\n\n

Log into Red Hat GUI and open Firefox browser.<\/strong><\/p>\n\n\n\n

Quay registry is accessible in https:\/\/qua.local:8443 url. Accept the Risk and Continue to the site.<\/strong><\/p>\n\n\n\n

\"Mirror<\/figure>\n\n\n\n

A login is screen is displayed. Default user name is init. <\/strong><\/p>\n\n\n\n

Enter the credentials of quay registry and click on ‘Sign into Red Hat Quay’.<\/strong><\/p>\n\n\n\n

After successful login home page of mirror registry is displayed.<\/strong><\/p>\n\n\n\n

\"Mirror<\/figure>\n","protected":false},"excerpt":{"rendered":"

The mirror registry for Red Hat OpenShift is a small and streamlined container registry that you can use as a target for mirroring the required container images of OpenShift Container Platform for disconnected installations. Prerequisite Red Hat Enterprise Linux 9.2. Please refer Installation of Red Hat Enterprise Linux 9.2 using developer account for installation of RHEL 9.2. … Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":250,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[8,3],"_links":{"self":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/70"}],"collection":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":22,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":258,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/70\/revisions\/258"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/media\/250"}],"wp:attachment":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}