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

Setting up a Remote Agent on Windows using docker-machine

mccow002
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2020

I have a bamboo server running on windows, and I'm trying to add a remote agent.

The remote agent is a windows server, and I'm trying to set it up to support docker builds. The bamboo documentation says to use Docker Machine, with no further instructions on how to set that up.

I've installed docker machine on my remote agent, create a machine, and changed by environment variables so docker.exe on my agent will point to the docker machine host. But it doesn't work.

The first issue is volume mounting. I get "invalid mode" because of the colon in the windows path. When I hard code the path to something that works, I get an issue that the inline script tasks in my build return -1 instead of 0.

Does anyone have any idea how to set up a windows agent to use Docker Machine?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events