Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine: add normalized RLIMIT_NOFILE default to v25 release note #19185

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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