Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

docker credentials store not working

You told that ECR access not working in EAP

we decided to make a workaround with docker credential plugin

- /tmp:/tmp:rw
- /var/run/docker.sock:/var/run/docker.sock:rw
- /var/lib/docker/containers:/var/lib/docker/containers:ro

- /root/.docker/config.json:/root/.docker/config.json:ro

- /usr/bin/docker-credential-ecr-login:/usr/bin/docker-credential-ecr-login:ro



cat ~/.docker/config.json
"credHelpers": {
"": "ecr-login"

but we still receive Error (on host pulling works correctly)

bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,391] Pulling image
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,505] Pulling image
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,546] An error occurred whilst pulling image.
bb_runner_server_test_1_1991e009485e | com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Get no basic auth credentials"}
bb_runner_server_test_1_1991e009485e |
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,552] Removing container build
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,555] Removing container clone
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,557] Updating step progress to COMPLETING_LOGS.
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,885] Shutting down log uploader.
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,887] Tearing down directories.
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,889] Cancelling timeout
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:46,892] Completing step with result Result{status=FAILED, error=Some(Error{key='runner.bitbucket-pipelines.image-pull-failure', message='Status 500: {"message":"Get no basic auth credentials"}
bb_runner_server_test_1_1991e009485e | ', arguments={}})}.
bb_runner_server_test_1_1991e009485e | [2021-03-24 15:24:47,230] Waiting for next step.


also we think that pull all required docker images in advance (before running bitbucket job) in host (ec2) we run runner could help

docker pull
master: Pulling from xxx
Digest: sha256:xxxx
Status: Image is up to date for
# success pull on host

but the result is still the same -> Error "no basic auth credentials"

looks like your runner use docker lib which doesn't understand default docker behaviour

@Justin Thomas may be you have idea how to resolve it?
could it be related to this issue ?

1 comment

lassian Atlassian Team Mar 24, 2021

Hi Artsiom,

This isn't something we have tested nor support.

Pipelines does support ECR credentials for images however the self hosted runners does not yet  support this feature yet as mentioned on

Support for ECR in self hosted runners is coming in a future release.

Kind Regards,

Nathan Burrell

Like Artsiom Zhurbila likes this


Log in or Sign up to comment

Atlassian Community Events