You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deprecated.md
+3-17Lines changed: 3 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -730,25 +730,11 @@ When using cgroups v2, the `--blkio-weight` options are implemented using
730
730
731
731
Specifying kernel memory limit (`docker run --kernel-memory`) is no longer supported
732
732
because the [Linux kernel deprecated `kmem.limit_in_bytes` in v5.4](https://github.com/torvalds/linux/commit/0158115f702b0ba208ab0b5adf44cae99b3ebcc7).
733
-
The OCI runtime specification now marks this option (as well as `--kernel-memory-tcp`)
734
-
as ["NOT RECOMMENDED"](https://github.com/opencontainers/runtime-spec/pull/1093),
733
+
The OCI runtime specification now marks this option as ["NOT RECOMMENDED"](https://github.com/opencontainers/runtime-spec/pull/1093),
735
734
and OCI runtimes such as `runc` no longer support this option.
736
735
737
-
Docker API v1.42 and up now ignores this option when set. Older versions of the
738
-
API continue to accept the option, but depending on the OCI runtime used, may
739
-
take no effect.
740
-
741
-
> [!NOTE]
742
-
> While not deprecated (yet) in Docker, the OCI runtime specification also
743
-
> deprecated the `memory.kmem.tcp.limit_in_bytes` option. When using `runc` as
744
-
> runtime, this option takes no effect. The Linux kernel did not explicitly
745
-
> deprecate this feature, and there is a tracking ticket in the `runc` issue
746
-
> tracker to determine if this option should be reinstated or if this was an
747
-
> oversight of the Linux kernel maintainers (see [opencontainers/runc#3174](https://github.com/opencontainers/runc/issues/3174)).
748
-
>
749
-
> The `memory.kmem.tcp.limit_in_bytes` option is only supported with cgroups v1,
750
-
> and not available on installations running with cgroups v2. This option is
751
-
> only supported by the API, and not exposed on the `docker` command-line.
736
+
The Docker API no longer handles the kernel-memory fields, and Docker CLI v29.0
737
+
removes the `--kernel-memory` option.
752
738
753
739
### Classic Swarm and overlay networks using cluster store
0 commit comments