コンテナレジストリ
OCIコンテナの実行イメージを保存できる場所や配布場所
Docker
Podman
Kubernetes
などで利用できる
階層構造
レジストリ
アカウント
アプリケーション
(CPU等)
バージョン
基本的に Linux で x64向けに構築されていて、ARM64などもOSなどを中心にあるのかも
CPU別に登録するのは何か難しい
代表的なところ
Docker Hub
GitHub
Red Hat Quay.io
企業配布
https://catalog.redhat.com/software/containers/explore
https://catalog.redhat.com/software/base-images
Oracle Container Resgistry
レジストリ構築対応ツール
sonatype-nexus3
Distribution Registry
https://www.docker.com/ja-jp/blog/how-to-use-your-own-registry-2/
Red Hat Quay (有償?)
https://docs.redhat.com/ja/documentation/red_hat_quay
Apache
レジストリはHTTPSでアクセスする前提だが
ローカルレジストリにHTTPでpush するには
$ podman push pg
だと Error: trying to reuse blob sha256:xxxxxx at destination: checking whether blob sha256:xxxxxxx exists in docker.io
docker.io に PUSH しようとしたり
$ podman push localhost:5000/pg
HTTPレスポンスが返ってくるとエラーになったり
$ podman push --tls-verify=false localhost:5000/pg
--tls-verify=false でTLSを無効にする
サーバ名:port/image で指定する
$ podman rmi pg
削除して
$ podman pull --tls-verify=false localhost:5000/pg
pullも同じ--tls-verify をつけて