Public Repository

Last pushed: a year ago
Short Description
Authenticate against AWS ECR and send packaged credentials to given address.
Full Description

Authenticates against AWS ECR, creates a Marathon-compatible docker.tar.gz package, and sends the package to the given HTTP address as a multipart HTTP form. The main use case is to allow Marathon to fetch images from private repositories. On a Marathon setup the natural POST location is Marathon artifact store.

Usage:

docker run \
    -e "AWS_REGION=[my-region]" \
    -e "AWS_ACCESS_KEY_ID=[key-id]" \
    -e "AWS_SECRET_ACCESS_KEY=[key]" \
    tbay/aws-ecr-login:latest \
        -registryids [csv,list,of,ECR,IDs] \
        -postto http://my.server:8080/artifacts/docker.tar.gz

Currently the source code of this image is not public.

Docker Pull Command
Owner
tbay