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 details)

Uploaded Source

File details

Details for the file ecr2ecr-1.26.tar.gz.

File metadata

  • Download URL: ecr2ecr-1.26.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

File hashes

Hashes for ecr2ecr-1.26.tar.gz
Algorithm Hash digest
SHA256 5643d38681ccdb3a56260b1943e4992d6e643c19cbaa730fd837431e9eeca6f8
MD5 cf9ca4d3ddec7587f769cf97410d2d55
BLAKE2b-256 69a8d2b3b44560107bb0761cd910b0cdb1ce66baecf1e75027ee02ea1771d863

See more details on using hashes here.

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