title: What will happen after the maximum number of images pushed to ECR repository
body: <p>According to <a href="http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html" rel="nofollow noreferrer">Amazon ECR Service Limits</a>, the maximum number of images per repository is 1,000. After exceeding this limit, the oldest image won't remove automatically. It blocks pushing to the repository. So I have to clean old images manually. </p>
  
  <p><strong>Update:</strong> AWS introduced <a href="https://aws.amazon.com/blogs/compute/clean-up-your-container-images-with-amazon-ecr-lifecycle-policies/" rel="nofollow noreferrer">ECR Lifecycle Policies</a>. We can now automate the cleanup with this. </p>