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
This fix tries to address the issue raised in 24392 where
labels with duplicate keys exist in `docker info`, which
contradicts with the specifications in the docs.
The reason for duplicate keys is that labels are stored as
slice of strings in the format of `A=B` (and the input/output).
This fix tries to address this issue by checking conflict
labels when daemon started, and remove duplicate labels (K-V).
The existing `/info` API has not been changed.
An additional integration test has been added to cover the
changes in this fix.
This fix fixes 24392.
Signed-off-by: Yong Tang <[email protected]>
Copy file name to clipboardExpand all lines: docs/deprecated.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,14 @@ see [Feature Deprecation Policy](index.md#feature-deprecation-policy).
26
26
27
27
The daemon is moved to a separate binary (`dockerd`), and should be used instead.
28
28
29
+
### Duplicate keys with conflicting values in engine labels
30
+
**Deprecated In Release: [v1.13](https://github.com/docker/docker/releases/)**
31
+
32
+
**Target For Removal In Release: v1.16**
33
+
34
+
Duplicate keys with conflicting values have been deprecated. A warning is displayed
35
+
in the output, and an error will be returned in the future.
36
+
29
37
### Three argument form in `docker import`
30
38
**Deprecated In Release: [v0.6.7](https://github.com/docker/docker/releases/tag/v0.6.7)**
0 commit comments