https://github.com/boroivanov/ecr-tools
Utilities for AWS ECR
https://github.com/boroivanov/ecr-tools
aws docker ecr ecr-repositories
Last synced: 5 months ago
JSON representation
Utilities for AWS ECR
- Host: GitHub
- URL: https://github.com/boroivanov/ecr-tools
- Owner: boroivanov
- License: mit
- Created: 2019-03-29T01:18:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-03T21:22:51.000Z (over 5 years ago)
- Last Synced: 2025-05-07T14:52:41.952Z (5 months ago)
- Topics: aws, docker, ecr, ecr-repositories
- Language: Python
- Size: 47.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://pypi.python.org/pypi/ecrtools)
[](https://travis-ci.org/boroivanov/ecr-tools)
[](https://codeclimate.com/github/boroivanov/ecr-tools/maintainability)
[](https://codeclimate.com/github/boroivanov/ecr-tools/test_coverage)
[](https://pepy.tech/project/ecrtools)
[](https://pepy.tech/project/ecrtools)# ecrtools
ecrtools is a small cli for listing ECR repos and searching for images in ECR. Easily print repos and images stats
# Install
*NOTE: Python 3 support only.*
```
pip install ecrtools
```# Examples
```bash
$ ecr repos
my-app images: 82 untagged: 3 size: 33.9GB
my-app-auto-tests images: 5 untagged: 0 size: 2.5GB
....$ ecr images my-app f5f84a5
2019-03-19 14:56:42-07:00 438.7MB f5f84a5
2019-03-19 14:56:34-07:00 417.2MB awscp-f5f84a5images: 2 untagged: 0 total size: 0.9GB
$ ecr images my-app head
2019-04-01 18:14:39-07:00 378.3MB rev-source-update, 742f07e, headimages: 1 untagged: 0 total size: 0.4GB
$ ecr images my-app
2019-04-01 18:14:39-07:00 378.3MB rev-source-update, 742f07e, head
2019-04-01 18:14:31-07:00 378.3MB pr-1376
....images: 82 untagged: 3 total size: 33.9GB
```