Start agent container on build

Hi there,

I’m really new with buildkite, and had a question.

I am using the docker container for the agent. It’s there some way the system can start the container when it is needed and shut it down if there are no builds?

Thank you

There are a couple of docker options via plugins - https://github.com/buildkite-plugins/docker-buildkite-plugin and https://github.com/buildkite-plugins/docker-compose-buildkite-plugin

I discuss the two options in an blog post I wrote at https://starkandwayne.com/blog/buildkite/

1 Like

How to scale up/down your agents is not covered in those plugins nor discussed in my blog post. If you want to explore dynamic scaling of agents, perhaps look at the webhooks API where you can be informed of new builds etc https://buildkite.com/docs/apis/webhooks

Thank you for pushing me in the right direction!!