aws-samples / aws-parallelcluster-post-install-scripts

Scripts to customize AWS ParallelCluster
MIT No Attribution
23 stars 13 forks source link

Add ECR auth example #9

Closed lipovsek-aws closed 2 months ago

lipovsek-aws commented 1 year ago

ECR is now supported lets add it to default template.

mhuguesaws commented 2 months ago

Will have to create /enroot/.credentials to authenticate against ECR.

Example of .credentials:

machine 12345678901.dkr.ecr.us-west-2.amazonaws.com login AWS password $(aws ecr get-login-password --region us-west-2)

enroot import docker://12345678901.dkr.ecr.us-west-2.amazonaws.com/nccl-tests:efa1.34.0-ofiv1.11.0-aws-ncclv2.23.4-1-testsv2.13.10