Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to push docker image to custom registry

While trying to use Bamboo's docker step
To push the docker image to a custom registry

Facing the below error

15-May-2020 09:19:26        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
15-May-2020 09:19:26        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
15-May-2020 09:19:26        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204)
15-May-2020 09:19:26        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:176)
15-May-2020 09:19:26        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
15-May-2020 09:19:26        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
15-May-2020 09:19:26        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
15-May-2020 09:19:26        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127)
15-May-2020 09:19:26        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
15-May-2020 09:19:26        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
15-May-2020 09:19:26        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
15-May-2020 09:19:26        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
15-May-2020 09:19:26        at java.lang.Thread.run(Thread.java:748)
15-May-2020 09:19:26Caused by: com.atlassian.bamboo.docker.DockerException: Error running Docker push command. See messages above for details.
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.client.DockerCmd.push(DockerCmd.java:164)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.service.PushService.execute(PushService.java:37)
15-May-2020 09:19:26        ... 17 more
15-May-2020 09:19:26Caused by: com.atlassian.utils.process.ProcessException: Error executing '/usr/bin/docker login -u test --password-stdin http:', exit code: 1
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.process.DefaultDockerProcessService.execute(DefaultDockerProcessService.java:65)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.process.DefaultDockerProcessService.executeSilently(DefaultDockerProcessService.java:75)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.executeSilently(DockerTaskProcessService.java:79)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.client.DockerCmd$AuthorisedCommand.login(DockerCmd.java:239)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.client.DockerCmd$AuthorisedCommand.execute(DockerCmd.java:210)
15-May-2020 09:19:26        at com.atlassian.bamboo.plugins.docker.client.DockerCmd.push(DockerCmd.java:152)
15-May-2020 09:19:26        ... 18 more

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

180 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you