💾 Archived View for freeshell.de › tldr › aws-ecr.gmi captured on 2022-06-11 at 21:26:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

aws ecr

Push, pull, and manage container images.

More information.

aws ecr get-login-password --region {region} | {docker login} --username AWS --password-stdin {aws_account_id}.dkr.ecr.{region}.amazonaws.com
aws ecr create-repository --repository-name {repository} --image-scanning-configuration scanOnPush={true|false} --region {region}
docker tag {container_name}:{tag} {aws_account_id}.dkr.ecr.{region}.amazonaws.com/{container_name}:{tag}
docker push {aws_account_id}.dkr.ecr.{region}.amazonaws.com/{container_name}:{tag}
docker pull {aws_account_id}.dkr.ecr.{region}.amazonaws.com/{container_name}:{tag}
aws ecr batch-delete-image  --repository-name {repository} --image-ids imageTag={latest}
aws ecr delete-repository --repository-name {repository} --force
aws ecr list-images --repository-name {repository}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY