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
As per your comment to use 'docker-credential-ecr-login', I used and installed it successfully. But Nomad is still failing to pull.
Logs:
Recent Events:
Time Type Description
2018-10-11T10:18:19Z Alloc Unhealthy Unhealthy because of failed task
2018-10-11T10:18:19Z Not Restarting Error was unrecoverable
2018-10-11T10:18:19Z Driver Failure failed to initialize task "xxxx" for alloc "44395b24-95c3-7598-8758-e0ed2363a2e1": Failed to find docker auth for repo "xxxx.dkr.ecr.xxxx.amazonaws.com/xxx/xxxxx": exec: "docker-credential-ecr-login": executable file not found in $PATH
FYI : I'm able to pull images from ECR with docker pull command without using "docker login"
With the help of the comments posted in the issue #3526 , I was able to fix the PATH issue reported but now again i'm facing pull issue reported earlier in my first post.
Logs:
Time Type Description
2018-10-11T11:46:18Z Restarting Task restarting in 30.357619357s
2018-10-11T11:46:18Z Driver Failure failed to initialize task "ipvs" for alloc "0b6eafad-479e-5907-5580-c5af648b35f4": Failed to pull XXXXXXXXXX.dkr.ecr.us-XXX.amazonaws.com/XXXX/XXXX: API error (404): {"message":"repository XXXXXXX.dkr.ecr.us-XXXX.amazonaws.com/XXXXX/XXXX not found: does not exist or no pull access"}
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Reference Issue : #4766
As per your comment to use 'docker-credential-ecr-login', I used and installed it successfully. But Nomad is still failing to pull.
Logs:
Recent Events:
Time Type Description
2018-10-11T10:18:19Z Alloc Unhealthy Unhealthy because of failed task
2018-10-11T10:18:19Z Not Restarting Error was unrecoverable
2018-10-11T10:18:19Z Driver Failure failed to initialize task "xxxx" for alloc "44395b24-95c3-7598-8758-e0ed2363a2e1": Failed to find docker auth for repo "xxxx.dkr.ecr.xxxx.amazonaws.com/xxx/xxxxx": exec: "docker-credential-ecr-login": executable file not found in $PATH
My docker config file:
{
"credHelpers": {
"XXXXX.dkr.ecr.us-XXXXXXX.amazonaws.com": "ecr-login"
},
}
Client config:
}
FYI : I'm able to pull images from ECR with docker pull command without using "docker login"
With the help of the comments posted in the issue #3526 , I was able to fix the PATH issue reported but now again i'm facing pull issue reported earlier in my first post.
Logs:
Time Type Description
2018-10-11T11:46:18Z Restarting Task restarting in 30.357619357s
2018-10-11T11:46:18Z Driver Failure failed to initialize task "ipvs" for alloc "0b6eafad-479e-5907-5580-c5af648b35f4": Failed to pull
XXXXXXXXXX.dkr.ecr.us-XXX.amazonaws.com/XXXX/XXXX
: API error (404): {"message":"repository XXXXXXX.dkr.ecr.us-XXXX.amazonaws.com/XXXXX/XXXX not found: does not exist or no pull access"}Thank you.
Originally posted by @nattvasan in #4766 (comment)
The text was updated successfully, but these errors were encountered: