Home Explore Blog CI



docker

6th chunk of `content/manuals/build/release-notes.md`
ace9f77bbc8db4603cf0a3d862aac6f3b0aceb0474b7aca30000000100000ff4
- The `docker buildx prune` command now supports new `--max-used-space` and `--min-free-space` filters with BuildKit v0.17.0+ builders. [docker/buildx#2766](https://github.com/docker/buildx/pull/2766)

### Enhancements

- Allow capturing of CPU and memory profiles with `pprof` using the [`BUILDX_CPU_PROFILE`](/manuals/build/building/variables.md#buildx_cpu_profile) and [`BUILDX_MEM_PROFILE`](/manuals/build/building/variables.md#buildx_mem_profile) environment variables. [docker/buildx#2746](https://github.com/docker/buildx/pull/2746)
- Maximum Dockerfile size from standard input has increased. [docker/buildx#2716](https://github.com/docker/buildx/pull/2716), [docker/buildx#2719](https://github.com/docker/buildx/pull/2719)
- Memory allocations have been reduced. [docker/buildx#2724](https://github.com/docker/buildx/pull/2724), [docker/buildx#2713](https://github.com/docker/buildx/pull/2713)
- The `--list-targets` and `--list-variables` flags for `docker buildx bake` no longer require initialization of the builder. [docker/buildx#2763](https://github.com/docker/buildx/pull/2763)

### Bug fixes

- Check warnings now print the full filepath to the offending Dockerfile, relative to the current working directory. [docker/buildx#2672](https://github.com/docker/buildx/pull/2672)
- Fallback images for the `--check` and `--call` options have been updated to correct references. [docker/buildx#2705](https://github.com/docker/buildx/pull/2705)
- Fix issue with the build details link not showing in experimental mode. [docker/buildx#2722](https://github.com/docker/buildx/pull/2722)
- Fix validation issue with invalid target linking for Bake. [docker/buildx#2700](https://github.com/docker/buildx/pull/2700)
- Fix missing error message when running an invalid command. [docker/buildx#2741](https://github.com/docker/buildx/pull/2741)
- Fix possible false warnings for local state in `--call` requests. [docker/buildx#2754](https://github.com/docker/buildx/pull/2754)
- Fix potential issues with entitlements when using linked targets in Bake. [docker/buildx#2701](https://github.com/docker/buildx/pull/2701)
- Fix possible permission issues when accessing local state after running Buildx with `sudo`. [docker/buildx#2745](https://github.com/docker/buildx/pull/2745)

### Packaging

- Compose compatibility has been updated to v2.4.1. [docker/buildx#2760](https://github.com/docker/buildx/pull/2760)

## 0.17.1

{{< release-date date="2024-09-13" >}}

The full release notes for this release are available
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.17.1).

### Bug fixes

- Do not set `network.host` entitlement flag automatically on builder creation
  for the `docker-container` and `kubernetes` drivers if the entitlement is set
  in the [BuildKit configuration file](/manuals/build/buildkit/toml-configuration.md). [docker/buildx#2685]
- Do not print the `network` field with `docker buildx bake --print` when empty. [docker/buildx#2689]
- Fix telemetry socket path under WSL2. [docker/buildx#2698]


## 0.17.0

{{< release-date date="2024-09-10" >}}

The full release notes for this release are available
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.17.0).

### New

- Add `basename`, `dirname` and `sanitize` functions to Bake. [docker/buildx#2649]
- Enable support for Bake entitlements to allow privileged operations during builds. [docker/buildx#2666]

### Enhancements

- Introduce CLI metrics tracking for Bake commands. [docker/buildx#2610]
- Add `--debug` to all build commands. Previously, it was only available on the top-level `docker` and `docker buildx` commands. [docker/buildx#2660]
- Allow builds from stdin for multi-node builders. [docker/buildx#2656]
- Improve `kubernetes` driver initialization. [docker/buildx#2606]
- Include target name in the error message when building multiple targets with Bake. [docker/buildx#2651]
- Optimize metrics handling to reduce performance overhead during progress tracking. [docker/buildx#2641]
- Display the number of warnings after completing a rule check. [docker/buildx#2647]

Title: Docker Buildx Release Notes (Versions 0.18.0, 0.17.1, 0.17.0) - Features, Enhancements, Bug Fixes, and Packaging Updates
Summary
This section covers the release notes for Docker Buildx versions 0.18.0, 0.17.1 and 0.17.0. Version 0.18.0 introduces `--max-used-space` and `--min-free-space` filters for `docker buildx prune`, CPU/memory profiling via environment variables, increased Dockerfile size from standard input, reduced memory allocations, and improved `docker buildx bake` flags. It also includes bug fixes and Compose compatibility updates. Version 0.17.1 focuses on bug fixes, addressing issues related to network entitlements, empty network fields in Bake, and telemetry socket paths under WSL2. Version 0.17.0 introduces `basename`, `dirname`, and `sanitize` functions to Bake, enables support for Bake entitlements, CLI metrics tracking for Bake commands, `--debug` for all build commands, builds from stdin for multi-node builders, improved `kubernetes` driver initialization, target name in Bake error messages, optimized metrics handling, and a warning count display after rule checks.