# Pulling private ECR images in container runners, getting errors

**URL:** <https://discuss.circleci.com/t/pulling-private-ecr-images-in-container-runners-getting-errors/54025>\
**Category:** Build Environment\
**Created:** [August 30, 2025, 6:28pm UTC](https://discuss.circleci.com/t/pulling-private-ecr-images-in-container-runners-getting-errors/54025 "2025-08-30T18:28:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityamandke-telus](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/adityamandke-telus/32/36624_2.png) [@adityamandke-telus](https://discuss.circleci.com/u/adityamandke-telus)\
**Post date:** [August 30, 2025, 6:28pm UTC](https://discuss.circleci.com/t/pulling-private-ecr-images-in-container-runners-getting-errors/54025/1 "2025-08-30T18:28:13Z")

</div>

I am trying to run a job in my cluster with a private ECR image in my container runner.  
I get an error while running the job saying I am not authenticated with AWS: CircleCI failed to run this build, check your config. Try re-running the build and if this issue persists, open a **[Support ticket](https://support.circleci.com/hc/en-us)**. **Detail: could not make new task: error authenticating with ecr: aws credentials not found**  
My config:  
`version: 2.1`  
`orbs:`  
`aws-cli: circleci/aws-cli@3.1.3`  
`jobs:`  
`build:`  
`docker:`  
`- image: xxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/path-to-ecr-repo/python:3.6`  
`aws_auth:`  
`oidc_role_arn: “arn:aws:iam::xxxxxx:role/circleci”`  
`resource_class: org_name/resourceclass_name`  
`steps:`  
`- checkout`  
`- run: echo “Hi I’m on Runners!”`  
`workflows:`  
`build-workflow:`  
`jobs:`  
`- build`
