Category : amazon-ecr

I have an Amazon ECR Public repository which is created in the ap-southeast-2 region. I tried to log in to the ecr-public with the following command. aws ecr-public get-login-password –region ap-southeast-2 | docker login –username AWS –password-stdin public.ecr.aws/<default_alias> But I’m getting the following error, Could not connect to the endpoint URL: "https://api.ecr-public.ap-southeast-2.amazonaws.com/" Error: Cannot perform ..

Read more

I need to add a circleCI job, after pulling a docker image (abc) i need to execute a "docker run" command on the container which is created by image abc to finish the job. circleci_job: docker: – image: xyz.ecr.us-west-2.amazonaws.com/abc steps: – checkout – run: name: execute docker run command command: | export env1=https://example.com docker run ..

Read more

I have been trying to pull pre-built SageMaker docker images to extend and improve upon the default functionality. Here’s what I have done till now: $ sudo aws ecr get-login-password –region ap-south-1 | sudo docker login –username AWS –password-stdin 126357580389.dkr.ecr.ap-south-1.amazonaws.com WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove ..

Read more

I would like to pass a public Docker Image on ECR through the image_uri parameter to the Estimator. However, the training job fails to find this image. I’m running my code using AWS SageMaker Notebook instance. from sagemaker.estimator import Estimator byoc_image_uri = ‘public.ecr.aws/v8x6t9d9/train-image-classifier-firefly’ estimator = Estimator(image_uri=byoc_image_uri, role=role, base_job_name=’tf-custom-container-test-job’, instance_count=1, hyperparameters=hyperparameters, output_path=output_path, instance_type=’ml.p2.xlarge’) What I have ..

Read more