Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hi All, I'M Trying To Run Tasks In The Autoscaler Using My Docker Image That Sits In Aws Ecr, And I'M Having Authentication Credentials Issues. I Want To Clone An Existing Task And Run It Using The Autoscaler. I Created A Docker Image, Which Sits In Aws

Hi all,
I'm trying to run tasks in the Autoscaler using my docker image that sits in AWS ECR, and I'm having authentication credentials issues.

I want to clone an existing task and run it using the Autoscaler.
I created a docker image, which sits in AWS ECR, and I put it in an Autoscaler instance.
After I enqueue the task's clone to the Autoscaler, I get this error:
"docker: Error response from daemon: Head "https://<account-id>.dkr.ecr.<region>. amazonaws.com/v2/ml_engineering/manifests/latest ": no basic auth credentials." (replace <> vars with the actual values).

The task is running "docker run -t ..." (there's a long execution line in the task's console), and if I understand correctly, I think I need it to run this:
"aws ecr get-login-password --region <your-region> | docker login --username AWS --password-stdin <account-id>.dkr.ecr.<region>. amazonaws.com " before the "docker run" command, so it'll set up the credentials.
Is that true? And if it is, how can I do that? Everything happens automatically after I provide my docker image in the Autoscaler creation.
If it isn't true, how can I fix the error above? When creating the autoscaler instance, I set the AWS credentials, and I thought it'll let them know how to access the docker image.

Thank you in advance.

  
  
Posted 13 hours ago
Votes Newest

Answers