This can be done by setting an environment variable in your shell: export DOCKER_BUILDKIT=1 This will configure Docker to use BuildKit for build commands. If you want this to use BuildKit every single time from now on, you could set this variable in your .bashrc, or adjust the Docker settings in /etc/docker/daemon.json as described in the docs (or via the “preferences/Docker Engine” menu in Docker Desktop), by adding “buildkit” in the “features” section: