Using Remote Container Builder
The Remote Container Builder enables you to build container images using blazing-fast, remote build compute instances managed by Garden. Each built layer of your Dockerfile is stored on low-latency, high-throughput NVMe storage, so that your entire team can benefit from shared build cached. This can result in significantly faster builds.
Follow the steps below to enable the Remote Container Builder.
Enabling Remote Container Builder
Step 1 — Log in to Garden Cloud
You need to be logged into Garden Cloud to use the remote container builder:
If this is your first time logging in, you'll be asked to sign up.
Step 2 — Configure the container
provider
container
providerTo enable the Remote Container Builder, add the following to your project level configuration under the provider
field:
Afterwards your project config should look something like this:
You can also enable the Remote Container Builder in specific environments like so:
Step 3 — Give it a spin (optional)
If you a already have a Garden project with container
Build actions, simply run:
...or any other command that triggers a build.
If you're using the kubernetes
provider, the image will be pushed to the configured deploymentRegistry
.
You can check out the results in the new Builds UI.
Next steps
If you haven't already, check out our docs on building containers to learn how to add container
Build actions to your project that can be built by the Remote Container Builder and used by other actions, e.g. to:
Last updated
Was this helpful?