Skip to content

Commit c6493c7

Browse files
authored
Merge pull request #2908 from thaJeztah/deprecate_blkio_weight
deprecate blkio-weight options with cgroups v1
2 parents a86662d + fb2ea09 commit c6493c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/deprecated.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Status | Feature
5252
-----------|------------------------------------------------------------------------------------------------------------------------------------|------------|------------
5353
Deprecated | [Pulling images from non-compliant image registries](#pulling-images-from-non-compliant-image-registries) | v20.10 | -
5454
Deprecated | [Linux containers on Windows (LCOW)](#linux-containers-on-windows-lcow-experimental) | v20.10 | -
55+
Deprecated | [BLKIO weight options with cgroups v1](#blkio-weight-options–with-cgroups-v1) | v20.10 | -
5556
Deprecated | [Kernel memory limit](#kernel-memory-limit) | v20.10 | -
5657
Deprecated | [Classic Swarm and overlay networks using external key/value stores](#classic-swarm-and-overlay-networks-using-cluster-store) | v20.10 | -
5758
Deprecated | [Support for the legacy `~/.dockercfg` configuration file for authentication](#support-for-legacy-dockercfg-configuration-files) | v20.10 | -
@@ -140,6 +141,16 @@ now stopped in favor of running docker natively on Linux in WSL2.
140141
Developers who want to run Linux workloads on a Windows host are encouraged to use
141142
[Docker Desktop with WSL2](https://docs.docker.com/docker-for-windows/wsl/) instead.
142143

144+
### BLKIO weight options with cgroups v1
145+
146+
**Deprecated in Release: v20.10**
147+
148+
Specifying blkio weight (`docker run --blkio-weight` and `docker run --blkio-weight-device`)
149+
is now marked as deprecated when using cgrous v1 because the corresponding features
150+
were [removed in Linux kernel v5.0 and up](https://github.com/torvalds/linux/commit/f382fb0bcef4c37dc049e9f6963e3baf204d815c).
151+
When using cgroups v2, the `--blkio-weight` options are implemented using
152+
[`io.weight](https://github.com/torvalds/linux/blob/v5.0/Documentation/admin-guide/cgroup-v2.rst#io).
153+
143154
### Kernel memory limit
144155

145156
**Deprecated in Release: v20.10**

0 commit comments

Comments
 (0)