Skip to content

Commit ad19553

Browse files
committed
Add a deprecation warning about --link on default nw
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
1 parent 1443014 commit ad19553

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/deprecated.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The table below provides an overview of the current status of deprecated feature
5050

5151
| Status | Feature | Deprecated | Remove |
5252
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
53+
| Deprecated | [Links on the default bridge network](#links-on-the-default-bridge-network) | v26.0 | - |
5354
| Deprecated | [Deprecate legacy API versions](#deprecate-legacy-api-versions) | v25.0 | v26.0 |
5455
| Deprecated | [Container short ID in network Aliases field](#container-short-id-in-network-aliases-field) | v25.0 | v26.0 |
5556
| Deprecated | [IsAutomated field, and "is-automated" filter on docker search](#isautomated-field-and-is-automated-filter-on-docker-search) | v25.0 | v26.0 |
@@ -110,6 +111,18 @@ The table below provides an overview of the current status of deprecated feature
110111
| Removed | [`--run` flag on `docker commit`](#--run-flag-on-docker-commit) | v0.10 | v1.13 |
111112
| Removed | [Three arguments form in `docker import`](#three-arguments-form-in-docker-import) | v0.6.7 | v1.12 |
112113

114+
### Links on the default bridge network
115+
116+
**Deprecated in Release: v26.0**
117+
**Target for Removal In Release: v28.0**
118+
119+
The `--link` option on `docker create` and `docker run`, when used with no
120+
`--network` specified, is deprecated in v26.0 and will be removed in a future
121+
release. Custom networks should be used instead.
122+
123+
Note that, the `--link` option is still supported when a non-default network
124+
is used.
125+
113126
### Deprecate legacy API versions
114127

115128
**Deprecated in Release: v25.0**

0 commit comments

Comments
 (0)