Skip to content

Commit

Permalink
engine: add normalized RLIMIT_NOFILE default to v25 release note
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
  • Loading branch information
dvdksn committed Jan 23, 2024
1 parent f43578e commit 4ac3ef6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions content/engine/release-notes/25.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ For a full list of pull requests and changes in this release, refer to the relev
### New
- The daemon now uses systemd's default `LimitNOFILE`. In earlier versions of
Docker Engine, this limit was set to `infinity`. This would cause issues with
recent versions of systemd, where the hard limit was increased, causing
programs that adjusted their behaviors based on ulimits to consume a high
amount of memory. [moby/moby#45534](https://github.com/moby/moby/pull/45534)
The new setting makes containers behave the same way as programs running on
the host, but may cause programs that make incorrect assumptions based on the
soft limit to misbehave. To get the previous behavior, you can set
`LimitNOFILE=1048576`.
This change currently only affects build containers created with `docker
build` when using BuildKit with the `docker` driver. Future versions of
containerd will also use this limit, which will cause this behavior to affect
all containers, not only build containers.
If you're experiencing issues with the higher ulimit in systemd v240 or later,
consider adding a system `drop-in` or `override` file to configure the ulimit
settings for your setup. The [Flatcar Container Linux documentation](https://www.flatcar.org/docs/latest/setup/systemd/drop-in-units/)
has a great article covering this topic in detail.
- Add OpenTelemetry tracing. [moby/moby#45652](https://github.com/moby/moby/pull/45652), [moby/moby#45579](https://github.com/moby/moby/pull/45579)
- Add support for CDI devices under Linux. [moby/moby#45134](https://github.com/moby/moby/pull/45134), [docker/cli#4510](https://github.com/docker/cli/pull/4510), [moby/moby#46004](https://github.com/moby/moby/pull/46004)
- Add an additional interval to be used by healthchecks during the container start period. [moby/moby#40894](https://github.com/moby/moby/pull/40894), [docker/cli#4405](https://github.com/docker/cli/pull/4405), [moby/moby#45965](https://github.com/moby/moby/pull/45965)
Expand Down

0 comments on commit 4ac3ef6

Please sign in to comment.