This DC/OS Service is currently in preview.
Pass the AWS account number and region as package options.
Make sure the Mesos agent’s IAM role (or the provided AWS key and secret credentials) allows logging into the ECR specified.
Marathon will make sure that the ECR login agent runs only once per slave. The directory passed will be mounted and a .docker folder with a config.json file will be created within it. Additionally, a docker.tar.gz will be created to be passed to Marathon when needed.
ECR login on DCOS successfully installed.
You can now begin pulling from this registry by passing the docker.tar.gz file to Marathon URIs.