This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.4.2.2.2. init イメージを MacOS のミラーレジストリーにプッシュする
手順
base64
を使用してミラーレジストリーのルート認証局 (CA) コンテンツをエンコードします。echo <content_of_additional_ca> | base64 --decode > disconnect-ca.crt
$ echo <content_of_additional_ca> | base64 --decode > disconnect-ca.crt
Copy to Clipboard Copied! Toggle word wrap Toggle overflow エンコーディングされたルート CA 証明書を適切な場所にコピーします。
- Docker UI を使用して Docker を再起動します。
以下のコマンドを実行します。
docker login <mirror-registry>:5000 -u <username> -p <password>
$ docker login <mirror-registry>:5000 -u <username> -p <password>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
odo
init イメージをミラーリングします。oc image mirror registry.access.redhat.com/openshiftdo/odo-init-image-rhel7:<tag> <mirror-registry>:5000/openshiftdo/odo-init-image-rhel7:<tag>
$ oc image mirror registry.access.redhat.com/openshiftdo/odo-init-image-rhel7:<tag> <mirror-registry>:5000/openshiftdo/odo-init-image-rhel7:<tag>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow ODO_BOOTSTRAPPER_IMAGE
環境変数を設定してデフォルトのodo
init イメージパスを上書きします。export ODO_BOOTSTRAPPER_IMAGE=<mirror-registry>:5000/openshiftdo/odo-init-image-rhel7:<tag>
$ export ODO_BOOTSTRAPPER_IMAGE=<mirror-registry>:5000/openshiftdo/odo-init-image-rhel7:<tag>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow