Hi,
I'm new to Docker and would like to run certain "Jobs" in Docker with "Docker runner". When I want to start a build, I get a docker error.
com.atlassian.bamboo.docker.DockerException: Error running Docker run command at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:130) at com.atlassian.bamboo.v2.build.agent.docker.DockerContainerControllerImpl.startContainerIfRequired(DockerContainerControllerImpl.java:79) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:174) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127) 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.utils.process.ProcessException: Error executing /usr/bin/docker run --volume /home/bamboo/bmhome/xml-data/build-dir/ACI-MAIN-JOB1:/home/bamboo/bmhome/xml-data/build-dir/ACI-MAIN-JOB1 --volume /home/bamboo/bmhome/temp:/home/bamboo/bmhome/temp --detach --name 63e1be61-6813-4d46-8d88-bafc8b40c2902195458 --net=host mcr.microsoft.com/dotnet/core/sdk:latest tail -f /dev/null at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:302) at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:273) at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:107)
Does anyone have any idea how I can fix this? Or at least get more information about the error?
Thank you in advance,
Damian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.