dayjournal memo

Total 975 articles!!

Amazon ECR #002 - イメージ登録

Yasunori Kirimoto's avatar

img



Amazon ECRでイメージを登録するメモ。



リポジトリを選択 → 「プッシュコマンドの表示」をクリック。

img


コマンドが表示されるのでコピーしておく。

img


AWS CLIでコマンドを実行しリポジトリにイメージをプッシュします。
今回はGeoServerのDockerイメージkartoza/geoserverを利用しました。

aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/xxxxx
docker tag kartoza/geoserver:latest public.ecr.aws/xxxxx/sample:latest
docker push public.ecr.aws/xxxxx/sample:latest

img


プッシュが完了したら対象のリポジトリをクリック。

img


イメージが登録されたのを確認できます。

img




book

Q&A