Skip to main content

docker image registry sync tools. Currently supports aws ecr.

Project description

## Project

docker image registry sync tools. Currently supports aws ecr

## Status

[![Build Status](https://travis-ci.org/japzio/docker-registry-helpers.svg?branch=develop)](https://travis-ci.org/japzio/docker-registry-helpers)

## Runtime Requirements

  • python3

  • docker

## Dependencies

  • boto3

  • docker-py (1.X)

## PyPi Upload Utility(ies) * twine

## Creat Dists

./setup.py sdist –formats=gztar,zip

## Upload to PiPy

twine upload (–skip-existing) dist/ecr2ecr-VERSION.tar.gz or zip

## Installation

pip3 install ecr2ecr

## Usage as installed

ecr2ecr -s us-west-2 -d us-east-1 -n image-name(repository) -t latest

## Exit Codes

  • 1 - registry login issue

  • 2 - image pulling issue

  • 3 - image tagging issue

  • 4 - image pushing issue

## Usage as src

python3 -m ecr2ecr.core -s us-west-2 -d us-east-1 -n image-name -t latest

## Arguments

  • -s –source-region region where the image should be pulled from.

  • -d –destination-region region where the image will be pushed to.

  • -n –image-name image:tag format

  • -t –image-tag image:tag format

## Author

@japzio

## Credits

TrustArc, Inc.

## License

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ https://opensource.org/licenses/Apache-2.0

Project details


Release history Release notifications | RSS feed

This version

1.26

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecr2ecr-1.26.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page