Skip to content

Commit 0df3977

Browse files
authored
Merge pull request #7042 from thaJeztah/carry_deprecation
Add a deprecation warning about --link on default nw
2 parents 86cf0a5 + aaaeb80 commit 0df3977

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/deprecated.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ The following table provides an overview of the current status of deprecated fea
113113
| Deprecated | [`-h` shorthand for `--help`](#-h-shorthand-for---help) | v1.12 | v17.09 |
114114
| Removed | [`-e` and `--email` flags on `docker login`](#-e-and---email-flags-on-docker-login) | v1.11 | v17.06 |
115115
| Deprecated | [Separator (`:`) of `--security-opt` flag on `docker run`](#separator--of---security-opt-flag-on-docker-run) | v1.11 | v17.06 |
116+
| Deprecated | [Links on the default bridge network](#links-on-the-default-bridge-network) | v1.10 | - |
116117
| Deprecated | [Ambiguous event fields in API](#ambiguous-event-fields-in-api) | v1.10 | - |
117118
| Removed | [`-f` flag on `docker tag`](#-f-flag-on-docker-tag) | v1.10 | v1.12 |
118119
| Removed | [HostConfig at API container start](#hostconfig-at-api-container-start) | v1.10 | v1.12 |
@@ -1203,6 +1204,19 @@ The `docker login` no longer automatically registers an account with the target
12031204

12041205
The flag `--security-opt` doesn't use the colon separator (`:`) anymore to divide keys and values, it uses the equal symbol (`=`) for consistency with other similar flags, like `--storage-opt`.
12051206

1207+
### Links on the default bridge network
1208+
1209+
**Deprecated in release: v1.10**
1210+
**Target for removal in release: v30.0**
1211+
1212+
The `--link` option on `docker create` and `docker run`, when used with no
1213+
`--network` specified, was deprecated in v1.10 and will be removed in a future
1214+
release. Custom networks should be used instead. Docker 29.6 added a deprecation
1215+
warning when this option is used for the default bridge network.
1216+
1217+
Note that the `--link` option is still supported when a non-default network
1218+
is used.
1219+
12061220
### Ambiguous event fields in API
12071221

12081222
**Deprecated in release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**

0 commit comments

Comments
 (0)