Project images
Each project needs an image: a .devcontainer/ or a Dockerfile with its build and test tools. Takt runs the project’s Linux jobs in it, on any of your machines.
You don’t have to write it. Each agent session starts knowing whether the project has one, and the agent adds one when it’s missing: Takt’s skill tells it how.
Without one
A project with no image runs its jobs --here: on the machine that sent them, in the checkout as it is. Takt says so in the job’s output, and the machines you added sit idle for that project.
To fix it, ask your agent: “Give this project a devcontainer for Takt.” Or write .devcontainer/devcontainer.json and .devcontainer/Dockerfile yourself, with the tools the project’s build and tests use, for amd64 and arm64. Tools only tests need, such as a browser, belong there rather than in a production image.
Which image Takt uses
| Takt looks for | Notes |
|---|---|
image in takt.yml |
An image name, a Dockerfile path, or .devcontainer. |
.devcontainer/devcontainer.json or .devcontainer.json |
Also .devcontainer/<name>/devcontainer.json when there is exactly one. Its compose services start beside the job. |
A Dockerfile at the repository’s root |
One machine builds the image and pushes it to the coordinator. The others pull it from there. A job’s output says in one line when the image is ready.
macOS and Windows jobs
They don’t use the project’s image. macOS jobs run in a fresh macOS VM. Windows jobs run in a fresh Windows 11 VM, with the tools a project declares in takt.yml baked into an image of its own. See Run Windows and macOS jobs.