AWS ECR Migration
Short description
Project used to migrate docker images between cloud and a local machine.
Prerequisites
Local prerequisites
- Docker installed.
- This project installed with:
pip install aws-ecr-migration
or:
./install.sh
Cloud prerequisites
- ECR repository created
Usage
Pulling from ECR repository
from aws_ecr_migration.manage import Manager
from aws_ecr_migration.aws_credentials import AwsCredentials
manager = Manager(
credentials=AwsCredentials(),
remote_repository='remote/repository'
)
manager.pull()
Pushing an image to ECR repository
from aws_ecr_migration.manage import Manager
from aws_ecr_migration.aws_credentials import AwsCredentials
manager = Manager(
credentials=AwsCredentials(),
remote_repository='remote/repository'
)
manager.push_image('myimage')
Pushing a running container to ECR repository
from aws_ecr_migration.manage import Manager
from aws_ecr_migration.aws_credentials import AwsCredentials
manager = Manager(
credentials=AwsCredentials(),
remote_repository='remote/repository'
)
manager.push_container('mycontainer')
Release history
1.2.1
Documentation updates.
1.2.0
Add ability to pull specific image.
1.1.0
Add repository_exists and repository_empty methods.
1.0.0
Initial.
Metadata
Release files for aws-ecr-migration 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_ecr_migration-1.2.1.tar.gz | 15.8 kB | Without provenance | Details for aws_ecr_migration-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_ecr_migration-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for aws_ecr_migration-1.2.1-py3-none-any.whl |
Total release size: 32.7 kB
Release files / aws_ecr_migration-1.2.1.tar.gz
| Download URL | aws_ecr_migration-1.2.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f233ac6c95b414caa8858fda655bb45b40318380ecbdd010577d14ef573a4a6
|
|
BLAKE2b-256 checksum How to use checksums |
9b98d9a60e1dde8659a4630a3794bc2ba6fdaa14d57e1fe1c60531402574d825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
|
Release files / aws_ecr_migration-1.2.1-py3-none-any.whl
| Download URL | aws_ecr_migration-1.2.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c453af88773b053efda06eaa690d5089ad9fe196622672bdea90af7bfc55731d
|
|
BLAKE2b-256 checksum How to use checksums |
52988207728798e491ac9caae1fd6a3976fad8e8394133d2635da513e8951ed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
|
Security for aws-ecr-migration 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.