This Docker Bamboo Agent allows you to run Docker images in agent docker container.
To learn more about Bamboo, see: https://www.atlassian.com/software/bamboo
This Docker image makes it easy to get an instance of Bamboo Agent up and running. This minimal image is suitable for run docker containers and contains only Bamboo Agent, OpenJDK 8 and Docker.
Note that Bamboo Agent DIND Image does not include a Bamboo server.
-
Make sure your Bamboo server is running and has remote agents support enabled. To enable it, go to Administration > Agents console.
-
Start the Bamboo Agent DIND container:
docker run --name="bambooAgent" --privileged --net=host -e "BAMBOO_CI_URL=<<bamboo-server-url>>" -d citilink/bamboo-agent-dind
where <> is the base URL of your Bamboo server.
-
Verify if your remote agent has registered itself. Go back to the Administration > Agents console.
If you have security token verification enabled on your server, you can pass the token to the agent via the SECURITY_TOKEN
environment variable in the docker run command.
If you need to override Bamboo agent's default memory configuration or pass additional JVM arguments, use the VM_OPTS
environment variable (see Dockerfile).
Remote agents are updated automatically, so you don't need to worry about it during Bamboo server upgrade. Agents automatically detect when a new version is available and downloads new classes from the server.
- You can view know issues: here.