<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Buildx - Tag - Roland's Dev Blog</title><link>https://rolandsdev.blog/tags/buildx/</link><description>Buildx - Tag - Roland's Dev Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 10 Oct 2020 17:19:00 +0800</lastBuildDate><atom:link href="https://rolandsdev.blog/tags/buildx/" rel="self" type="application/rss+xml"/><item><title>Build Docker images on k8s nodes</title><link>https://rolandsdev.blog/posts/build-docker-images-on-k8s-nodes/</link><pubDate>Sat, 10 Oct 2020 17:19:00 +0800</pubDate><author><name>rolandjitsu</name><uri>https://github.com/rolandjitsu</uri><email>rolandjitsu@gmail.com</email></author><guid>https://rolandsdev.blog/posts/build-docker-images-on-k8s-nodes/</guid><description><![CDATA[<p><a href="https://docs.docker.com/build/buildx/" target="_blank" rel="noopener noreferrer">Docker Buildx</a> allows you to route image build execution away from your local workstation using pluggable <a href="https://docs.docker.com/build/builders/drivers/" target="_blank" rel="noopener noreferrer">builder drivers</a>:</p>
<ol>
<li><strong><code>docker</code></strong>: Uses the standard daemon engine (default). Best for single-arch, local image generation.</li>
<li><strong><code>docker-container</code></strong>: Spawns an isolated BuildKit container locally. Supports multi-platform builds and cache export.</li>
<li><strong><code>kubernetes</code></strong>: Deploys BuildKit pods dynamically into a Kubernetes cluster, offloading compilation, packaging, and disk I/O to remote node pools.</li>
<li><strong><code>remote</code></strong>: Directly connects to a standalone BuildKit daemon over mTLS or TCP, useful for dedicated shared build infrastructure.</li>
</ol>
<p>The <code>kubernetes</code> driver is particularly effective when local CPU and RAM are constrained, or when you want your build tasks to scale horizontally across high-performance cloud compute.</p>]]></description></item></channel></rss>