Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
But what is Buildx actually? According to the official documentation Docker Buildx is a CLI plugin that extends the docker command with the full support of the features provided by Moby BuildKit builder toolkit. It provides the same user experience as docker build with many new features like creating scoped builder instances and building against multiple nodes concurrently. Buildx also supports new features that are not yet available for regular docker build like building manifest lists, distributed caching, and exporting build results to OCI image tarballs.
In our demo, we will show how to setup buildx on a local machine and build a simple Node.js application. You can find the complete source code on this GitHub repository.
If you don't want to use Docker Desktop you can also download the latest binary from the releases page on GitHub, rename the binary to docker-buildx (docker-buildx.exe for Windows) and copy it to the destination matching your OS. For Linux and macOS that is $HOME/.docker/cli-plugins, for Windows that is %USERPROFILE%\.docker\cli-plugins.