Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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!


dockerhub auth not working

hi guys,

Did you change anything on the integration with dockerhub?

I am executing a task using shared credentials which used to work and now is failing with this error.


com.atlassian.bamboo.task.TaskException: Failed to execute task
	at com.atlassian.bamboo.plugins.docker.service.PullService.execute(
	at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(
	at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
	at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
	at com.atlassian.bamboo.utils.BambooRunnables$
Caused by: com.atlassian.bamboo.docker.DockerException: Error running Docker pull command. See messages above for details. If no reason is specified it may be because you have not provided login details to a registry that requires authorisation.
	at com.atlassian.bamboo.plugins.docker.client.DockerCmd.pull(
	at com.atlassian.bamboo.plugins.docker.service.PullService.execute(
	... 17 more
Caused by: com.atlassian.utils.process.ProcessException: Error executing  pull hashicorp/terraform:latest
	at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(
	at com.atlassian.bamboo.plugins.docker.client.DockerCmd.lambda$pull$1(
	at com.atlassian.bamboo.plugins.docker.client.DockerCmd.pull(
	... 18 more

 I am asking as I know that recently you changed the auth mechanism for Bitbucket, so maybe this is the case too. Someone can point me to the right documentation please? and I will be on my way.


1 comment

Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 16, 2022 • edited

Hello @Valentin Constantinescu

No recent changes have been made to Bamboo and how it deals with Docker login.

Depending on how your Docker task is configured, it might expect the "docker login" to be managed by the operating system. You can alternatively add a username and password so Bamboo will make sure to run "docker login/logout" when necessary.

Perhaps your credentials have expired?

You can also enable DEBUG logs for the following classes to find exactly what Bamboo is doing:

  • com.atlassian.bamboo.docker
  • com.atlassian.bamboo.plugins.docker
  • com.atlassian.utils.process


Eduardo Alvarenga
Atlassian Support APAC 

It uses the shared credentials, but it does not work neither with native or direct username/password. Command line similar command works just fine.

Fixed it. Seems that docker capabilities can be agent specific and the path was not set up properly. I have to thank the chance - Bamboo error logs are pretty verbose and useless in the same time.

Like # people like this


Log in or Sign up to comment
AUG Leaders

Atlassian Community Events