You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the CLI tool spins up successfully and logs in to a load of other ECR registries, but not 121021644041: Then fails on step 1 with:
[Container] 2021/04/20 02:54:22 Running command docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG .
Sending build context to Docker daemon 7.68kB
Step 1/2 : FROM 121021644041.dkr.ecr.ap-southeast-1.amazonaws.com/sagemaker-scikit-learn:0.23-1-cpu-py3
Get https://121021644041.dkr.ecr.ap-southeast-1.amazonaws.com/v2/sagemaker-scikit-learn/manifests/0.23-1-cpu-py3: no basic auth credentials
[Container] 2021/04/20 02:54:22 Command did not exit successfully docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG . exit status 1
I've since tested and on a SageMaker Notebook Instance I can build the same Dockerfile fine, so long as I log in to the 121021644041 ECR first.
From a cursory look at the job logs and #12, it looks like the current strategy is to have the tool ecr login to every AWS account on which AWS DLCs are provided?
I'm trying to
sm-docker builda container derived from SageMaker Scikit-Learn framework container inap-southeast-1, something like the following:...so Dockerfile is
FROM 121021644041.dkr....etcSeems like the CLI tool spins up successfully and logs in to a load of other ECR registries, but not
121021644041: Then fails on step 1 with:I've since tested and on a SageMaker Notebook Instance I can build the same Dockerfile fine, so long as I log in to the
121021644041ECR first.From a cursory look at the job logs and #12, it looks like the current strategy is to have the tool
ecr loginto every AWS account on which AWS DLCs are provided?...So would the correct fix be to add every account Id listed here to support SKLearn?
I was thinking it might be preferable to also add a way for users to indicate extra required account IDs through the CLI, since: