You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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(PullService.java:41) at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:70) at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:168) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:161) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) at java.lang.Thread.run(Thread.java:748) 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(DockerCmd.java:189) at com.atlassian.bamboo.plugins.docker.service.PullService.execute(PullService.java:37) ... 17 more Caused by: com.atlassian.utils.process.ProcessException: Error executing pull hashicorp/terraform:latest at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:64) at com.atlassian.bamboo.plugins.docker.client.DockerCmd.lambda$pull$1(DockerCmd.java:170) at com.atlassian.bamboo.plugins.docker.client.DockerCmd.pull(DockerCmd.java:177) ... 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.
Thanks
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.